aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-elf.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2010-01-13 14:08:54 +0000
committerNick Clifton <nickc@redhat.com>2010-01-13 14:08:54 +0000
commit52b010e4424ced5700579389375a536b614f8b19 (patch)
tree67dca4c0f96d271dfa9bf01d4ff329419763f674 /gas/config/obj-elf.h
parent11db68fd8df09b071049208a7e7b64e3b1cb8946 (diff)
downloadgdb-52b010e4424ced5700579389375a536b614f8b19.zip
gdb-52b010e4424ced5700579389375a536b614f8b19.tar.gz
gdb-52b010e4424ced5700579389375a536b614f8b19.tar.bz2
* config/tc-h8300.c (h8300_elf_section): New function - issue a
warning message if a new section is created without setting any attributes for it. (md_pseudo_table): Intercept section creation pseudos. (md_pcrel_from): Replace abort with an error message. * config/obj-elf.c (obj_elf_section_name): Export this function. * config/obj-elf.h (obj_elf_section_name): Prototype. * gas/elf/section0.d: Skip this test for the h8300. * gas/elf/section1.d: Likewise. * gas/elf/section6.d: Likewise. * gas/elf/elf.exp: Skip section2 and section5 tests when the target is the h8300. * ld-scrips/sort.exp: Skip these tests when the target is the h8300.
Diffstat (limited to 'gas/config/obj-elf.h')
-rw-r--r--gas/config/obj-elf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/obj-elf.h b/gas/config/obj-elf.h
index dc8284f..c734aab 100644
--- a/gas/config/obj-elf.h
+++ b/gas/config/obj-elf.h
@@ -164,6 +164,7 @@ extern void elf_file_symbol (const char *, int);
extern void obj_elf_section_change_hook (void);
extern void obj_elf_section (int);
+extern char * obj_elf_section_name (void);
extern void obj_elf_previous (int);
extern void obj_elf_version (int);
extern void obj_elf_common (int);