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: A very "strange" bug in gcc 2.96


> 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>

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