ld for coff-m68k

Bruno Vetel bruno.vetel@wanadoo.fr
Mon Oct 1 22:19:00 GMT 2007


Le lundi 01 octobre 2007 à 20:16 +0100, Nick Clifton a écrit :
> Hi Bruno,

Hi Nick

I attached the source files and the link script
To assemble the files I did:
m68k-motorola-rtemscoff-as -M "file.S" -o "file.o"
To link the files I did :
m68k-motorola-rtemscoff-ld -T link_command -N -Map map -o scr

I tried with -n and -N ( no  change)

In binutils-2.6.18 with the m68k-elf compiler there is no filling
when I use the same process



	Bruno

> 
> > During the link of data files, the linker fills 2 bytes to pad data on
> > 32 bits. I would like to remove this.
> 
> Have you tried the -N command line option ?
> 
> Can you provide a small example of exactly what you would like to achieve ?
> 
> Cheers
>    Nick
> 
-- 
Bruno Vetel <bruno.vetel@wanadoo.fr>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample.tar.gz
Type: application/x-compressed-tar
Size: 721 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20071001/cb25d0b5/attachment-0001.bin>


More information about the Binutils mailing list