mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 11:00:01 +08:00
* elflink.c (elf_fixup_link_order): Rewrite conversion of s->alignment_power
into an offset mask in order to avoid a gcc error message.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2007-08-20 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* elflink.c (elf_fixup_link_order): Rewrite conversion of
|
||||||
|
s->alignment_power into an offset mask in order to avoid a gcc
|
||||||
|
error message.
|
||||||
|
|
||||||
2007-08-17 Jakub Jelinek <jakub@redhat.com>
|
2007-08-17 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*.
|
* config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*.
|
||||||
|
@ -9965,7 +9965,7 @@ elf_fixup_link_order (bfd *abfd, asection *o)
|
|||||||
for (n = 0; n < seen_linkorder; n++)
|
for (n = 0; n < seen_linkorder; n++)
|
||||||
{
|
{
|
||||||
s = sections[n]->u.indirect.section;
|
s = sections[n]->u.indirect.section;
|
||||||
offset &= ~(bfd_vma)((1 << s->alignment_power) - 1);
|
offset &= (bfd_vma)~((1L << s->alignment_power) - 1L);
|
||||||
s->output_offset = offset;
|
s->output_offset = offset;
|
||||||
sections[n]->offset = offset;
|
sections[n]->offset = offset;
|
||||||
offset += sections[n]->size;
|
offset += sections[n]->size;
|
||||||
|
Reference in New Issue
Block a user