aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-elf.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2010-10-23 18:05:10 +0000
committerMark Mitchell <mark@codesourcery.com>2010-10-23 18:05:10 +0000
commit709001e957fd1ae39f44b1e0690dfca64dddf044 (patch)
tree9121111faa2dcaebe7a87afd1c8a72a85bcdcabb /gas/config/obj-elf.h
parent0c480dea726658ddeba3e1aa6644f804d4df1432 (diff)
downloadgdb-709001e957fd1ae39f44b1e0690dfca64dddf044.zip
gdb-709001e957fd1ae39f44b1e0690dfca64dddf044.tar.gz
gdb-709001e957fd1ae39f44b1e0690dfca64dddf044.tar.bz2
2010-10-23 Mark Mitchell <mark@codesourcery.com>
* config/obj-elf.c (elf_adjust_symtab): New. Move group section processing here from elf_frob_file. Ensure that group signature symbols have the name of the group. (elf_frob_file): Move group section processing to elf_adjust_symtab. * config/obj-elf.h (elf_adjust_symtab): Declare. (obj_adjust_symtab): Define. * config/tc-arm.c (arm_adjust_symtab): Call elf_adjust_symtab. 2010-10-23 Mark Mitchell <mark@codesourcery.com> * gas/elf/elf.exp: Add group0c test. * gas/elf/group0c.d: New. * gas/elf/group0a.d: Expect ".group" for the name of group sections. * gas/elf/group0b.d: Likewise. * gas/elf/group1a.d: Likewise. * gas/elf/group1b.d: Likewise. * gas/elf/groupautoa.d: Likewise. * gas/elf/groupautob.d: Likewise. * gas/elf/section4.d: Likewise. * gas/ia64/group-1.d: Likewise. Adjust hard-coded constants. 2010-10-22 Mark Mitchell <mark@codesourcery.com> * binutils-all/group-5.d: Expect ".group" for the name of group sections. * binutils-all/strip-2.d: Likewise. 2010-10-23 Mark Mitchell <mark@codesourcery.com> * ld-elf/group10.d: Expect ".group" for the name of group sections. * ld-elf/group2.d: Likewise. * ld-elf/group7.d: Likewise.
Diffstat (limited to 'gas/config/obj-elf.h')
-rw-r--r--gas/config/obj-elf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/obj-elf.h b/gas/config/obj-elf.h
index c734aab..ccfa8d2 100644
--- a/gas/config/obj-elf.h
+++ b/gas/config/obj-elf.h
@@ -197,6 +197,11 @@ void elf_copy_symbol_attributes (symbolS *, symbolS *);
(elf_copy_symbol_attributes (DEST, SRC))
#endif
+void elf_adjust_symtab (void);
+#ifndef obj_adjust_symtab
+#define obj_adjust_symtab elf_adjust_symtab
+#endif
+
#ifndef SEPARATE_STAB_SECTIONS
/* Avoid ifndef each separate macro setting by wrapping the whole of the
stab group on the assumption that whoever sets SEPARATE_STAB_SECTIONS