diff options
author | Jakub Jelinek <jakub@redhat.com> | 2003-07-07 11:14:40 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2003-07-07 11:14:40 +0000 |
commit | 15f8604d21deffab6450bd32418774857104503d (patch) | |
tree | 0bf958f61c29b478cc92b6a8984d0d27d2b99760 | |
parent | 9f7598c1567932922c600e20fd55c8189a3d16d5 (diff) | |
download | gdb-15f8604d21deffab6450bd32418774857104503d.zip gdb-15f8604d21deffab6450bd32418774857104503d.tar.gz gdb-15f8604d21deffab6450bd32418774857104503d.tar.bz2 |
* elf32-s390.c (elf_howto_table): Change R_390_GOT12 to
complain_overflow_bitfield.
* elf64-s390.c (elf_howto_table): Change R_390_GOT12 to
complain_overflow_bitfield.
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rw-r--r-- | bfd/elf32-s390.c | 2 | ||||
-rw-r--r-- | bfd/elf64-s390.c | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 512f531..d9adb5c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,12 @@ 2003-07-04 Jakub Jelinek <jakub@redhat.com> + * elf32-s390.c (elf_howto_table): Change R_390_GOT12 to + complain_overflow_bitfield. + * elf64-s390.c (elf_howto_table): Change R_390_GOT12 to + complain_overflow_bitfield. + +2003-07-04 Jakub Jelinek <jakub@redhat.com> + * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Return true even if -pie. diff --git a/bfd/elf32-s390.c b/bfd/elf32-s390.c index 5312cbb..1ce327f 100644 --- a/bfd/elf32-s390.c +++ b/bfd/elf32-s390.c @@ -121,7 +121,7 @@ static reloc_howto_type elf_howto_table[] = bfd_elf_generic_reloc, "R_390_32", FALSE, 0,0xffffffff, FALSE), HOWTO(R_390_PC32, 0, 2, 32, TRUE, 0, complain_overflow_bitfield, bfd_elf_generic_reloc, "R_390_PC32", FALSE, 0,0xffffffff, TRUE), - HOWTO(R_390_GOT12, 0, 1, 12, FALSE, 0, complain_overflow_dont, + HOWTO(R_390_GOT12, 0, 1, 12, FALSE, 0, complain_overflow_bitfield, bfd_elf_generic_reloc, "R_390_GOT12", FALSE, 0,0x00000fff, FALSE), HOWTO(R_390_GOT32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, bfd_elf_generic_reloc, "R_390_GOT32", FALSE, 0,0xffffffff, FALSE), diff --git a/bfd/elf64-s390.c b/bfd/elf64-s390.c index 4b89712..62ef221 100644 --- a/bfd/elf64-s390.c +++ b/bfd/elf64-s390.c @@ -122,7 +122,7 @@ static reloc_howto_type elf_howto_table[] = bfd_elf_generic_reloc, "R_390_32", FALSE, 0,0xffffffff, FALSE), HOWTO(R_390_PC32, 0, 2, 32, TRUE, 0, complain_overflow_bitfield, bfd_elf_generic_reloc, "R_390_PC32", FALSE, 0,0xffffffff, TRUE), - HOWTO(R_390_GOT12, 0, 1, 12, FALSE, 0, complain_overflow_dont, + HOWTO(R_390_GOT12, 0, 1, 12, FALSE, 0, complain_overflow_bitfield, bfd_elf_generic_reloc, "R_390_GOT12", FALSE, 0,0x00000fff, FALSE), HOWTO(R_390_GOT32, 0, 2, 32, FALSE, 0, complain_overflow_bitfield, bfd_elf_generic_reloc, "R_390_GOT32", FALSE, 0,0xffffffff, FALSE), |