aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-09-18 15:04:27 +0930
committerAlan Modra <amodra@gmail.com>2019-09-18 21:32:51 +0930
commit1d38e9d14cc793bca9124d5ed7dc2a6e3122f2e5 (patch)
treeaf0c3bdb5483df06b9f1fb399aa40bfdf0c138ce /ld/ChangeLog
parentUse bfd_set_filename more (diff)
downloadbinutils-gdb-1d38e9d14cc793bca9124d5ed7dc2a6e3122f2e5.tar.gz
binutils-gdb-1d38e9d14cc793bca9124d5ed7dc2a6e3122f2e5.tar.bz2
binutils-gdb-1d38e9d14cc793bca9124d5ed7dc2a6e3122f2e5.zip
Constify target name, reloc name, and carsym name
bfd/ * bfd-in.h (carsym.name): Make const. * reloc.c (struct reloc_howto_struct.name): Likewise. * targets.c (bfd_target.name): Likewise.! * bfd.c (bfd_get_sign_extend_vma): Make variable const. * som.c (som_bfd_fill_in_ar_symbols): Use an intermediary variable when setting carsym.name. * bfd-in2.h: Regenerate. gdb/ * amd64-dicos-tdep.c (amd64_dicos_osabi_sniffer): Constify target. * i386-cygwin-tdep.c (i386_cygwin_init_abi): Likewise. * i386-dicos-tdep.c (i386_dicos_osabi_sniffer): Likewise. ld/ * ldlang.c (stricpy, strcut, name_compare): Constify params. (get_first_input_target): Make return and "target" const.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r--ld/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 81935a408c5..b863676ccd1 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,10 @@
2019-09-18 Alan Modra <amodra@gmail.com>
+ * ldlang.c (stricpy, strcut, name_compare): Constify params.
+ (get_first_input_target): Make return and "target" const.
+
+2019-09-18 Alan Modra <amodra@gmail.com>
+
* emultempl/pe.em (after_open): Use bfd_set_filename.
* emultempl/pep.em (after_open): Use bfd_set_filename.