Bug 11483

Summary: .rel.dyn needs to be infront of .rel.plt for prelink to function
Product: binutils Reporter: Taras Glek <tglek>
Component: goldAssignee: Ian Lance Taylor <ian>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bug-binutils
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Attachments: workaround

Description Taras Glek 2010-04-09 19:01:59 UTC
For my c hello world testcase. Currently gold outputs the expected order for
shared libraries, ie
  [11] .rel.dyn          REL             08049134 002134 000088 08   A  8   0  4
  [12] .rel.plt          REL             080491bc 0021bc 000328 08   A  8  14  4
but 
  [ 9] .rel.plt          REL             08048284 000284 000010 08   A  4   0  4
  [10] .rel.dyn          REL             08048294 000294 000008 08   A  4   0  4
for an executable
Comment 1 Taras Glek 2010-04-09 19:21:06 UTC
Created attachment 4713 [details]
workaround
Comment 2 Ian Lance Taylor 2011-07-09 00:51:01 UTC
Fixed a while back as part of the fix for PR 11805.

*** This bug has been marked as a duplicate of bug 11805 ***