A very "strange" bug in gcc 2.96

Geoff Keating geoffk@cygnus.com
Sun May 21 21:00:00 GMT 2000


> Date: 21 May 2000 13:42:42 -0700
> From: Ian Lance Taylor <ian@zembu.com>

> It's not broken to build a shared library with an object compiled
> without -fPIC.  It is often a convenience, when a single object is
> used in multiple ways.

Then the linker or assembler is broken, right?

It's surely valid, if unusual, assembler to branch to other object
files.

I know this works on ppc.

It may be that fully supporting this feature (non -fpic in shared
libraries) means something as nasty as implementing linker relaxation,
but...
-- 
- Geoffrey Keating <geoffk@cygnus.com>


More information about the Binutils mailing list