aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-mips.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-05-03 04:46:27 +0000
committerAndreas Jaeger <aj@suse.de>2001-05-03 04:46:27 +0000
commit56fc028eb129080a142e24ef904875c753c44a43 (patch)
tree8ad04b0d6d9cce4f83e6a54c499e87d81b2ba2c7 /bfd/elf64-mips.c
parent3438adb37d385801575ac0f14a8312d1486daa63 (diff)
downloadgdb-56fc028eb129080a142e24ef904875c753c44a43.zip
gdb-56fc028eb129080a142e24ef904875c753c44a43.tar.gz
gdb-56fc028eb129080a142e24ef904875c753c44a43.tar.bz2
* elf64-gen.c (elf_generic_info_to_howto): Add unused attribute.
(elf_generic_info_to_howto_rel): Likewise. * coff-alpha.c (reloc_nil): Likewise. (alpha_ecoff_bad_format_hook): Likewise. (alpha_adjust_reloc_out): Likewise. (alpha_bfd_reloc_type_lookup): Likewise. (alpha_convert_external_reloc): Likewise. * elf64-alpha.c (elf64_alpha_reloc_nil): Likewise. (elf64_alpha_reloc_bad): Likewise. (elf64_alpha_reloc_gpdisp): Likewise. (elf64_alpha_bfd_reloc_type_lookup): Likewise. (elf64_alpha_info_to_howto): Likewise. (elf64_alpha_add_symbol_hook): Likewise. (elf64_alpha_create_got_section): Likewise. (elf64_alpha_is_local_label_name): Likewise. (elf64_alpha_merge_ind_symbols): Likewise. * elf64-mips.c (mips_elf64_reloc_type_lookup): Likewise. (mips_elf64_get_reloc_upper_bound): Likewise. * nlm32-alpha.c (nlm_alpha_mangle_relocs): Likewise. (nlm_alpha_get_public_offset): Likewise.
Diffstat (limited to 'bfd/elf64-mips.c')
-rw-r--r--bfd/elf64-mips.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c
index d273e42..f1ab7b1 100644
--- a/bfd/elf64-mips.c
+++ b/bfd/elf64-mips.c
@@ -160,7 +160,7 @@ static reloc_howto_type mips_elf64_howto_table_rel[] =
false, /* pc_relative */
0, /* bitpos */
complain_overflow_dont, /* complain_on_overflow */
- /* This needs complex overflow
+ /* This needs complex overflow
detection, because the upper four
bits must match the PC + 4. */
bfd_elf_generic_reloc, /* special_function */
@@ -713,7 +713,7 @@ static reloc_howto_type mips_elf64_howto_table_rela[] =
false, /* pc_relative */
0, /* bitpos */
complain_overflow_dont, /* complain_on_overflow */
- /* This needs complex overflow
+ /* This needs complex overflow
detection, because the upper four
bits must match the PC + 4. */
bfd_elf_generic_reloc, /* special_function */
@@ -1390,7 +1390,7 @@ static CONST struct elf_reloc_map mips_reloc_map[] =
static reloc_howto_type *
mips_elf64_reloc_type_lookup (abfd, code)
- bfd *abfd;
+ bfd *abfd ATTRIBUTE_UNUSED;
bfd_reloc_code_real_type code;
{
unsigned int i;
@@ -1414,7 +1414,7 @@ mips_elf64_reloc_type_lookup (abfd, code)
static long
mips_elf64_get_reloc_upper_bound (abfd, sec)
- bfd *abfd;
+ bfd *abfd ATTRIBUTE_UNUSED;
asection *sec;
{
return (sec->reloc_count * 3 + 1) * sizeof (arelent *);