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: initializing eh


On Thu, Mar 01, 2001 at 04:18:20PM +0000, Jason Merrill wrote:
> 
> > The problem is:
> > unresolved symbol _GLOBAL_OFFSET_TABLE_ 
> 
> I think this should be provided by the linker.  It is used to set the PIC
> register.
> 

libgcc.a is compiled with -fPIC. But you don't need it for kernel.
If it is too hard to workaround, you can recompile libgcc.a without
-fPIC.


-- 
H.J. Lu (hjl@gnu.org)


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