diff options
author | Nick Clifton <nickc@redhat.com> | 2005-02-11 17:10:07 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-02-11 17:10:07 +0000 |
commit | cb7a88a4dd27fb2fd82ce56161188fb80174e36a (patch) | |
tree | f4fedecaa1643fd551b0e84c1b62b2fcd1c132a3 /bfd | |
parent | 3e25964f9b4f3a7ccdf7b9addc97fdf39df9ee63 (diff) | |
download | gdb-cb7a88a4dd27fb2fd82ce56161188fb80174e36a.zip gdb-cb7a88a4dd27fb2fd82ce56161188fb80174e36a.tar.gz gdb-cb7a88a4dd27fb2fd82ce56161188fb80174e36a.tar.bz2 |
(coff_std_swap_table): Add an unused attribute in case it is not used.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 3 | ||||
-rw-r--r-- | bfd/coffcode.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 78411ff..78412ec 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -29,6 +29,9 @@ * coff-tic4x.c (coff_rtype_to_howto): Move definition before inclusion of coffcode.h so that it is actually picked up. + * coffcode.h (coff_std_swap_table): Add an unused attribute in + case it is not used. + 2005-02-12 Alan Modra <amodra@bigpond.net.au> * elf64-ppc.c (toc_adjusting_stub_needed): Return true for diff --git a/bfd/coffcode.h b/bfd/coffcode.h index b9dc23c..589b855 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -5296,7 +5296,7 @@ coff_final_link_postscript (abfd, pfinfo) #define coff_SWAP_scnhdr_in coff_swap_scnhdr_in #endif -static const bfd_coff_backend_data bfd_coff_std_swap_table = +static const bfd_coff_backend_data bfd_coff_std_swap_table ATTRIBUTE_UNUSED = { coff_SWAP_aux_in, coff_SWAP_sym_in, coff_SWAP_lineno_in, coff_SWAP_aux_out, coff_SWAP_sym_out, |