PATCH for elf.sc
mark@codesourcery.com
mark@codesourcery.com
Thu Jul 1 00:00:00 GMT 1999
>>>>> "Jeffrey" == Jeffrey A Law <law@cygnus.com> writes:
Jeffrey> I agree that we need to look at the compiler. This is a
Jeffrey> common issue (and a relatively common bug with the target
Jeffrey> files). Nothing should be going into .rodata that needs
Jeffrey> a runtime relocation.
The problem would seem to lie in the mips.h definition of
SELECT_RTX_SECTION. I will work on a patch. I guess that any address
constant should go in the .data section, rather than in .rodata, since
any object might being part of a shared object, in which case the
address constant will be relocated?
There remains the question of compatibilty with the SGI linker. Do we
care?
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Binutils
mailing list