This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils 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: Sun, 21 May 2000 21:00:41 -0700
   From: Geoff Keating <geoffk@cygnus.com>

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

Correct.

I tried to say something along these lines, but I was probably too
terse.  Or maybe I forgot.

Ian

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