diff options
author | Nick Clifton <nickc@redhat.com> | 2005-05-03 12:02:47 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-05-03 12:02:47 +0000 |
commit | c1d05a606c3ae775523d364d3aa185ba1dd7ab46 (patch) | |
tree | d06a84918bbc9341857baba4ba639712fd479834 /gas/config/tc-mmix.c | |
parent | e02b83d7f42fda0f69a040687f3fe8ba39d5e082 (diff) | |
download | gdb-c1d05a606c3ae775523d364d3aa185ba1dd7ab46.zip gdb-c1d05a606c3ae775523d364d3aa185ba1dd7ab46.tar.gz gdb-c1d05a606c3ae775523d364d3aa185ba1dd7ab46.tar.bz2 |
* config/obj-ecoff.c (ecoff_frob_file_before_fix): Fix invocations of bfd_section_list... macros.
* config/tc-mmix.c (mmix_frob_file): Likewise.
* config/tc-xtensa.c (xtensa_remove_section): Likewise.
(xtensa_insert_section): Likewise.
* macro.c (macro_hash): Remove static.
* macro.h (macro_hash): Provide an external declaration.
Diffstat (limited to 'gas/config/tc-mmix.c')
-rw-r--r-- | gas/config/tc-mmix.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gas/config/tc-mmix.c b/gas/config/tc-mmix.c index 66fda95..356a68a 100644 --- a/gas/config/tc-mmix.c +++ b/gas/config/tc-mmix.c @@ -3747,18 +3747,18 @@ mmix_frob_file (void) if (real_reg_section != NULL) { - asection **secpp; + asection *secp; /* FIXME: Pass error state gracefully. */ if (bfd_get_section_flags (stdoutput, real_reg_section) & SEC_HAS_CONTENTS) as_fatal (_("register section has contents\n")); /* Really remove the section. */ - for (secpp = &stdoutput->sections; - *secpp != real_reg_section; - secpp = &(*secpp)->next) + for (secp = stdoutput->sections; + secp != real_reg_section; + secp = secp->next) ; - bfd_section_list_remove (stdoutput, secpp); + bfd_section_list_remove (stdoutput, secp); --stdoutput->section_count; } |