This is the mail archive of the binutils@sources.redhat.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]
Other format: [Raw text]

Re: GCC testsuite run before and after ~2.12.1 upgraded to pre-2.13


On Fri, Jul 19, 2002 at 07:42:56PM -0700, Jason R Thorpe wrote:
> On Sat, Jul 20, 2002 at 11:22:54AM +0930, Alan Modra wrote:
> 
>  > Check all object files involved in the link, including libraries and
>  > startup files, for a RW .rodata section.  I'm guessing you'll find one,
>  > indicating an assembler or more likely, source problem.
> 
> That's what I figured.  No .rodata* sections with the "W" bit set in
> any of:

So it looks like an ld problem.  Run the link under gdb, with a
breakpoint on lang_process.  Step over each function called, inspecting
the output .rodata section at each step.  You'll find it in one of
output_bfd->sections, output_bfd->sections->next,
output_bfd->sections->next->next etc.  It might also be worth putting
a breakpoint on lang_add_section, and watching what happens to the
.rodata output section flags there.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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