aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-elf.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-11-08 00:24:23 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-11-08 00:24:23 +0000
commit339681c049b110e7e51af9c28ee8fd5c7d18682b (patch)
tree17cc9b89755181dc363e886ef5e6acc92ca0036b /gas/config/obj-elf.h
parent4a314ec807d0b51845867b8bc22df797528e8a51 (diff)
downloadgdb-339681c049b110e7e51af9c28ee8fd5c7d18682b.zip
gdb-339681c049b110e7e51af9c28ee8fd5c7d18682b.tar.gz
gdb-339681c049b110e7e51af9c28ee8fd5c7d18682b.tar.bz2
2000-11-07 H.J. Lu <hjl@gnu.org>
* doc/as.texinfo (.symver): Updated for versioned symbol reference. * obj.h (format_ops): Add the frob_file_before_adjust field. * config/obj-aout.c (aout_format_ops): Set the frob_file_before_adjust field to 0. * config/obj-coff.c (coff_format_ops): Likewise. * config/obj-ecoff.c (ecoff_format_ops): Likewise. * config/obj-elf.c (obj_elf_symver): Allow duplicated version name. (elf_frob_file_before_adjust): New function to remove unneeded versioned symbols from the symbol table. (elf_format_ops): Set the frob_file_before_adjust field to elf_frob_file_before_adjust. * config/obj-elf.h (obj_frob_file_before_adjust): Defined if not defined. * config/obj-multi.h (obj_frob_file_before_adjust): Defined.
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 70ee61a..37004d7 100644
--- a/gas/config/obj-elf.h
+++ b/gas/config/obj-elf.h
@@ -132,6 +132,11 @@ extern asection *gdb_section;
#endif
extern void elf_frob_file PARAMS ((void));
+#ifndef obj_frob_file_before_adjust
+#define obj_frob_file_before_adjust elf_frob_file_before_adjust
+#endif
+extern void elf_frob_file_before_adjust PARAMS ((void));
+
#ifndef obj_frob_file_after_relocs
#define obj_frob_file_after_relocs elf_frob_file_after_relocs
#endif