This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: extra alignment/padding when using pe-i386


Dave Korn wrote:
Galen Seitz wrote:
Is there a way
to make the output of the pe-i386 and elf32-i386 assemblers match?

Yes. If you really want actually *identical* output to the elf32-i386 assembler, simply use the elf32-i386 assembler in the first place, not the pe-i386 one.

What exactly are you trying to do?


Thanks for the responses.


I'm using gcc to generate data tables for a flash device in an embedded system(no executable code). I'm developing under Linux, but others are using XP. I was hoping to avoid having to build a cross environment by having XP developers just use the standard mingw or cygwin tools. I didn't expect the pe-i386 target to add the extra alignment bytes after my data. If there's not an easy way to avoid this with the standard mingw or cygwin, I'll have to step back and assess whether I want to have to build and support a cross environment just for this.

thanks,
galen
--
Galen Seitz
galens@seitzassoc.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]