A very "strange" bug in gcc 2.96

Alexandre Oliva aoliva@cygnus.com
Mon May 22 00:33:00 GMT 2000


On May 22, 2000, Ulrich Drepper <drepper@redhat.com> wrote:

> "H . J . Lu" <hjl@lucon.org> writes:
>> * config/tc-i386.c (md_estimate_size_before_relax): Don't
>> relax external symbols.

> Any change must be conditional based on a flag (which should be off by
> default).  If you simply generate long references you make it
> impossible to write good code.

Yup.  This must be the reason why Solaris' assembler supports the
option `-K PIC'.

-- 
Alexandre Oliva    Enjoy Guaraná, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me



More information about the Binutils mailing list