This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: x86 alignment stuff


> Just an FYI for anyone thinking about adding MAX_SKIP_ALIGN support to
> another x86 target -- don't forget the protective #ifdef.  Otherwise if
> we lose if we have an old version of gas on the system.
> 
> I'll be checking in a fix to freebsd-elf and linux.h shortly.

Don't know that it's needed for freebsd-elf since FreeBSD-3.0 (which is still
in development) is the first release to officially support a native ELF tool
chain.  It currently uses binutils-2.8.1 which supports MAX_SKIP_ALIGN (the
development tree never included an older version of binutils for use with
ELF).  I would be very suprise to see someone doing a cross to freebsd-elf
using a version of binutils older than 2.8.1.

On the other hand, it certainly doesn't hurt to have the protective #ifdef.

-- John
-------------------------------------------------------------------------
|   Feith Systems  |   Voice: 1-215-646-8000  |  Email: john@feith.com  |
|    John Wehle    |     Fax: 1-215-540-5495  |                         |
-------------------------------------------------------------------------



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