OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4261ea6
)
Check section index as well as object when looking for input section.
author
iant
<iant>
Sun, 23 Sep 2007 03:17:38 +0000
(
03:17
+0000)
committer
iant
<iant>
Sun, 23 Sep 2007 03:17:38 +0000
(
03:17
+0000)
gold/output.cc
patch
|
blob
|
history
diff --git
a/gold/output.cc
b/gold/output.cc
index
9fc3103
..
6d782e2
100644
(file)
--- a/
gold/output.cc
+++ b/
gold/output.cc
@@
-839,7
+839,8
@@
Output_section::Input_section::output_address(const Relobj* object,
output_section_address, poutput);
else
{
- if (this->u2_.object != object)
+ if (this->shndx_ != shndx
+ || this->u2_.object != object)
return false;
off_t output_offset;
Output_section* os = object->output_section(shndx, &output_offset);