From 7ec22e0f1e08e96718ac27ea57a1dca0707a8b02 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Fri, 17 Feb 2017 01:26:12 +0000 Subject: 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 * 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. --- bfd/aout-tic30.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/aout-tic30.c') diff --git a/bfd/aout-tic30.c b/bfd/aout-tic30.c index 66de656..29dad9f 100644 --- a/bfd/aout-tic30.c +++ b/bfd/aout-tic30.c @@ -828,7 +828,7 @@ tic30_aout_set_arch_mach (bfd *abfd, _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 -- cgit v1.1