This is the mail archive of the
mailing list for the binutils project.
Can this be right?
- From: mike stump <mrs at windriver dot com>
- To: binutils at gcc dot gnu dot org
- Date: Fri, 26 Apr 2002 13:06:16 -0700 (PDT)
- Subject: Can this be right?
Can this be right (from src/binutils/src/gas/config/tc-m68k.c):
[ ... ]
record_alignment (text_section, 2);
record_alignment (data_section, 2);
record_alignment (bss_section, 2);
Surely this is required for a.out also? I expected ELF to be smarter
about alignments making the above unnecessary? A quick check of other
files indicates that elf systems often do this, well, ok, and a quick
check of what seem to be aout systems seem to do this as well.
If one has:
in 3 files, and then a:
then on an aout m68k system, the `2' comes out on the wrong address.
Can we make this unconditional?