[Bug binutils/18374] readelf fails to dump debug_loc

2015-05-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18374

--- Comment #2 from H.J. Lu hjl.tools at gmail dot com ---
(In reply to Nick Clifton from comment #1)
 Created attachment 8316 [details]
 Detect relocs against addresses in .debug_loc sections
 
 Hi H.J.
 
   The problem here is that the although readelf has processed the relocs
 against the .debug_loc section, the processed values are not valid.  (The
 reolcs involved were offsets from the .text section symbol, but since the
 section has not been placed into memory yet, the relocs were resolving to
 zero).
 
   The uploaded patch fixes the problem by refusing to accept an end-of-list
 pair of addresses when relocs exist against them.  Do you have any comments
 on the patch before I apply it ?

Can you extract/add a testcase from this bug report? Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/18374] readelf fails to dump debug_loc

2015-05-14 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18374

Nick Clifton nickc at redhat dot com changed:

   What|Removed |Added

 CC||nickc at redhat dot com

--- Comment #1 from Nick Clifton nickc at redhat dot com ---
Created attachment 8316
  -- https://sourceware.org/bugzilla/attachment.cgi?id=8316action=edit
Detect relocs against addresses in .debug_loc sections

Hi H.J.

  The problem here is that the although readelf has processed the relocs
against the .debug_loc section, the processed values are not valid.  (The
reolcs involved were offsets from the .text section symbol, but since the
section has not been placed into memory yet, the relocs were resolving to
zero).

  The uploaded patch fixes the problem by refusing to accept an end-of-list
pair of addresses when relocs exist against them.  Do you have any comments on
the patch before I apply it ?

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/17840] [2.25 Regression] ar creates archives with incorrect LST system_id and magic

2015-05-14 Thread dave.anglin at bell dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=17840

--- Comment #3 from dave.anglin at bell dot net ---
On 2015-01-13, at 7:18 PM, amodra at gmail dot com wrote:

 I'll bet that building with --disable-plugins cures this problem

The problem is plugins.m4 sets maybe_plugins=yes based on the presence of
dlfcn.h.  However,
this header is not applicable to 32-bit hpux targets (only 64-bit).  dlopen is
only available on hppa64.

Dave
--
John David Anglin   dave.ang...@bell.net

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/18276] AArch64: readelf, gas do not support TLSLD relocations

2015-05-14 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18276

Nick Clifton nickc at redhat dot com changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||nickc at redhat dot com

--- Comment #1 from Nick Clifton nickc at redhat dot com ---
Hi Jing,

  What is the specification for these relocs ?
  What is the definition of the assembler syntax to support them ?

Cheers
  Nick

PS.  Please could you upload the .s and .o files from compiling your testcase
so that we can use them to check the behaviour of any patched versions of gas
and readelf that we create.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/18314] On ARM, data gets confused for instructions after .align directive

2015-05-14 Thread solrabizna at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18314

Solra Bizna solrabizna at gmail dot com changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Solra Bizna solrabizna at gmail dot com ---
Binutils from git correctly handles all of my test cases. I believe this is now
fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/18414] TOC optimization bug (ignoring data deps on addis/ld - nop/ld opt)

2015-05-14 Thread hfinkel at anl dot gov
https://sourceware.org/bugzilla/show_bug.cgi?id=18414

--- Comment #5 from Hal Finkel hfinkel at anl dot gov ---
(In reply to Alan Modra from comment #4)
 Hmm, the dependency on r2 was added to gcc 2012-05-21.  Which means that
 people using an older gcc with a newer ld are in trouble.  There needs to be
 some way for ld to detect older gcc code, other than code scanning which is
 unreliable and slow.
 
 And no, ld does not currently scan code to find the second instruction.  The
 pairing is by the relocations.

Hrmm, good point. What happens to the .ident strings?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils