[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/13421] readelf -u generates output for relocatable ARM obj

From: nickc at redhat dot com
Subject: [Bug binutils/13421] readelf -u generates output for relocatable ARM objects
Date: Fri, 25 Nov 2011 14:16:56 +0000


Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
             Status|NEW                         |WAITING
                 CC|                            |nickc at redhat dot com

--- Comment #2 from Nick Clifton <nickc at redhat dot com> 2011-11-25 14:16:56 
UTC ---
Hi Dave,

> Instead, a {section,address} pair should be generated by
> applying the relocation addend to the target symbol's 
> {section,address} pair, with the resultant pair used 
> for locating the unwind opcodes and function symbol.

Actually this is being done already - it is just that the code that did this
was broken...

Please try out the uploaded patch and let me know what you think.

The patch includes a lot of formatting and coding tidy-ups, (although not the
full code refactoring that you suggested), so it may be hard to find the real
changes.  The fixes are as follows:

  1. Correctly initialize the rel_type field in the arm_section structure.

  2. When displaying the function name, use the computed function
section/offset abdaddr structure, not the entry absaddr structure.


Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]