This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Section alignment
- To: Dominik dot Froehlich at epost dot de, binutils at sources dot redhat dot com
- Subject: Re: Section alignment
- From: msokolov at ivan dot Harhan dot ORG (Michael Sokolov)
- Date: Tue, 30 Jan 01 08:40:38 PST
Dominik Frvhlich <Dominik.Froehlich@epost.de> wrote:
> objcopy -I ieee -O coff-m68k --debugging somefile.abs somefile.coff
>
> Unfortunately objcopy generates all sections to longs (4), but some
> parts of my program assume word alignment (2), hence the program doesn't work
> anymore.
COFF doesn't support per-section alignment control. Use ELF instead, target
m68k-elf in the GNU toolchain.
--
Michael Sokolov
Public Service Agent
International Engineering and Science Task Force
1351 VINE AVE APT 27 Phone: +1-714-738-5409
FULLERTON CA 92833-4291 USA (home office)
E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP)