[Bug gold/11483] New: .rel.dyn needs to be infront of .rel.plt for prelink to function

2010-04-09 Thread tglek at mozilla dot com
For my c hello world testcase. Currently gold outputs the expected order for
shared libraries, ie
  [11] .rel.dyn  REL 08049134 002134 88 08   A  8   0  4
  [12] .rel.plt  REL 080491bc 0021bc 000328 08   A  8  14  4
but 
  [ 9] .rel.plt  REL 08048284 000284 10 08   A  4   0  4
  [10] .rel.dyn  REL 08048294 000294 08 08   A  4   0  4
for an executable

-- 
   Summary: .rel.dyn needs to be infront of .rel.plt for prelink to
function
   Product: binutils
   Version: unspecified
Status: NEW
  Severity: normal
  Priority: P2
 Component: gold
AssignedTo: ian at airs dot com
ReportedBy: tglek at mozilla dot com
CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=11483

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


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


[Bug gold/11483] .rel.dyn needs to be infront of .rel.plt for prelink to function

2010-04-09 Thread tglek at mozilla dot com

--- Additional Comments From tglek at mozilla dot com  2010-04-09 19:21 
---
Created an attachment (id=4713)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4713&action=view)
workaround


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11483

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


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


[Bug ld/11434] ld resolves relocations against STB_GNU_UNIQUE in DT_SYMBOLIC libraries

2010-04-09 Thread hjl dot tools at gmail dot com

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2010-04-07 
02:41 ---
Subject: Bug 11434

CVSROOT:/cvs/src
Module name:src
Changes by: h...@sourceware.org 2010-04-07 02:41:35

Modified files:
bfd: ChangeLog elf-bfd.h 
ld : ChangeLog 
ld/testsuite/ld-x86-64: x86-64.exp 
Added files:
ld/testsuite/ld-x86-64: unique1.d unique1.s 

Log message:
Don't bind unique symbol locally.

bfd/

2010-04-06  H.J. Lu  

PR ld/11434
* elf-bfd.h (SYMBOLIC_BIND): Don't bind unique symbol locally.

ld/testsuite/

2010-04-06  H.J. Lu  

PR ld/11434
* ld/testsuite/ld-x86-64/unique1.d: New.
* ld/testsuite/ld-x86-64/unique1.s: Likewise.

* ld-x86-64/x86-64.exp: Run unique1.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.4980&r2=1.4981
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf-bfd.h.diff?cvsroot=src&r1=1.301&r2=1.302
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.2130&r2=1.2131
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/unique1.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/unique1.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-x86-64/x86-64.exp.diff?cvsroot=src&r1=1.15&r2=1.16


--- Additional Comments From hjl dot tools at gmail dot com  2010-04-09 
22:01 ---
Fixed.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=11434

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


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