projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19ec0de
)
Revision of previous delta using bfd_vma cast instead of 1L.
author
Nick Clifton
<nickc@redhat.com>
Mon, 20 Aug 2007 13:23:41 +0000
(13:23 +0000)
committer
Nick Clifton
<nickc@redhat.com>
Mon, 20 Aug 2007 13:23:41 +0000
(13:23 +0000)
bfd/elflink.c
patch
|
blob
|
history
diff --git
a/bfd/elflink.c
b/bfd/elflink.c
index 6059ab1140883cb493780eea5e1df13e984d540a..0f13faa9e01819956ddb7db852b4619c013c1701 100644
(file)
--- a/
bfd/elflink.c
+++ b/
bfd/elflink.c
@@
-9965,7
+9965,7
@@
elf_fixup_link_order (bfd *abfd, asection *o)
for (n = 0; n < seen_linkorder; n++)
{
s = sections[n]->u.indirect.section;
- offset &=
(bfd_vma)~((1L << s->alignment_power) - 1L)
;
+ offset &=
~(bfd_vma) 0 << s->alignment_power
;
s->output_offset = offset;
sections[n]->offset = offset;
offset += sections[n]->size;