* config/obj-elf.c (obj_elf_section_type): Add prototype
commit1b846c1fd03bd6a85b2c3a6c63397b042aeb8be4
authorNick Clifton <nickc@redhat.com>
Wed, 23 Apr 2008 13:54:56 +0000 (23 13:54 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 23 Apr 2008 13:54:56 +0000 (23 13:54 +0000)
treee72d871795b6b1e1ab67aecca7051c672c5e1f35
parent43f6461784cd80c6bd210146bb740c4fc1f9314f
    * config/obj-elf.c (obj_elf_section_type): Add prototype
        before obj_elf_section_word and add 'warn' arg.
        (obj_elf_section_word): Add type pointer arg, and if no #SECTION
        is matched, try checking for #SECTION_TYPE.
        (obj_elf_section): Adjust for new args.
        (obj_elf_type_name): New function.
        (obj_elf_type): Call it, and accept STT_foo number strings
        in .type statements as output by SunPRO compiler.
gas/config/obj-elf.c
gas/config/tc-arm.c