diff options
author | Alan Modra <amodra@gmail.com> | 2010-05-25 00:51:49 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2010-05-25 00:51:49 +0000 |
commit | 1239de13cf7b1575412a83377cdf580067cef402 (patch) | |
tree | 0e8dade0e9c8b0e5cd1b0118d51fe8660dffc23e /gas | |
parent | f0e2c7920df3db2a3dc9a467d2e66f408f9fb9ac (diff) | |
download | gdb-1239de13cf7b1575412a83377cdf580067cef402.zip gdb-1239de13cf7b1575412a83377cdf580067cef402.tar.gz gdb-1239de13cf7b1575412a83377cdf580067cef402.tar.bz2 |
* config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-ppc.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 9386fea..8f6b478 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2010-05-25 Alan Modra <amodra@gmail.com> + + * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr". + 2010-05-19 Nick Clifton <nickc@redhat.com> * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index 4f604a1..b79f214 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -3101,7 +3101,7 @@ ppc_section_type (char *str, size_t len) } int -ppc_section_flags (flagword flags, bfd_vma attr, int type) +ppc_section_flags (flagword flags, bfd_vma attr ATTRIBUTE_UNUSED, int type) { if (type == SHT_ORDERED) flags |= SEC_ALLOC | SEC_LOAD | SEC_SORT_ENTRIES; |