summaryrefslogtreecommitdiff
path: root/bfd/aout-target.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2017-02-17 01:26:12 +0000
committerPedro Alves <palves@redhat.com>2017-02-17 01:26:12 +0000
commit7ec22e0f1e08e96718ac27ea57a1dca0707a8b02 (patch)
tree4c2c53ab85551a318c9f3036818cb096d9c46ea1 /bfd/aout-target.h
parent8c8402ccf1e69a4b8971994deb19f9d88e665925 (diff)
bfd: Rename bsd_write_armap and coff_write_armap
Give these bfd-internal symbols with external linkage a _bfd_ prefix to avoid collisions in the global symbol namespace. bfd/ChangeLog: 2017-02-17 Pedro Alves <palves@redhat.com> * archive.c (bsd_write_armap): Rename to ... (_bfd_bsd_write_armap): ... this. (coff_write_armap): Rename to ... (_bfd_coff_write_armap): ... this. * libbfd-in.h (bsd_write_armap): Rename to ... (_bfd_bsd_write_armap): ... this. (coff_write_armap): Rename to ... (_bfd_coff_write_armap): ... this. * aout-target.h, aout-tic30.c: Adjust all users. * libbfd.h: Regenerate.
Diffstat (limited to 'bfd/aout-target.h')
-rw-r--r--bfd/aout-target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/aout-target.h b/bfd/aout-target.h
index de954ca44e..9f77c95cd8 100644
--- a/bfd/aout-target.h
+++ b/bfd/aout-target.h
@@ -373,7 +373,7 @@ MY_bfd_final_link (bfd *abfd, struct bfd_link_info *info)
_bfd_archive_bsd_construct_extended_name_table
#endif
#ifndef MY_write_armap
-#define MY_write_armap bsd_write_armap
+#define MY_write_armap _bfd_bsd_write_armap
#endif
#ifndef MY_read_ar_hdr
#define MY_read_ar_hdr _bfd_generic_read_ar_hdr