This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [3.0] Fix for FreeBSD 2 (aout) bootstrap failure
On Jul 11, 2001, Richard Henderson <rth@redhat.com> wrote:
> On Tue, Jul 10, 2001 at 11:23:20PM -0300, Alexandre Oliva wrote:
>> This patch brings FreeBSD 2 back to bootstrapville. The latest
>> snapshot wouldn't build because FreeBSD's assembler rejected some of
>> the differences between symbols used to create EH regions. This
>> patch, very similar to other patches that worked around similar
>> problems in other systems' assemblers, was necessary for bootstrap to
>> complete. Ok for the branch? Ok for mainline?
> No, this is not ok. Use #undef ASM_PREFERRED_EH_DATA_FORMAT.
Err... Why was this ok for UnixWare (sco5) and Solaris2/x86 without
gas, but it isn't for FreeBSD 2, even though it works? Or, phrasing
the question another way, why would it be better to always use
DW_EH_PE_absptr instead of PE_indirect and PE_datarel when possible?
If the default version is indeed better, should I go ahead and change
the similar patches installed in gcc/config/i386/sol2.h and sco5.h?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me