This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 00/13] more constification of strings
- From: tbsaunde+binutils at tbsaunde dot org
- To: binutils at sourceware dot org
- Date: Sun, 21 Feb 2016 21:02:00 -0500
- Subject: [PATCH 00/13] more constification of strings
- Authentication-results: sourceware.org; auth=none
From: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
Hi,
this patch series is kind of long, and perhaps not as well organized as it
might be, but I think all the pieces are rather straight forward. All the
patches that are non trivial and do more than just add const are generally
small and do only one thing.
any way patches individually built and tested on x86_64-linux-gnu, I built one
target per tc-*.c at the end of the series, and built one target per changed
file in config/ after each commit touching config/. Ok?
Trev
Trevor Saunders (13):
output-file.[ch]: make a couple function arguments const
depend.c: make some function arguments const
remove some unnecessary calls to as_where ()
make as_where () return the file name
make some message function args const
make various variables in gas const
input-file: make some file name variables const
make {logical,physical}_input_file const
input-scrub: make some file name arguments const
frags: make fr_file const
make expr_symbol_where () return a const file name
make more variables in gas const
make as_where () return const char *
gas/app.c | 2 +-
gas/as.h | 24 +++++++++++++-----------
gas/cond.c | 14 +++++++-------
gas/config/obj-coff.c | 4 ++--
gas/config/obj-elf.c | 4 ++--
gas/config/obj-som.c | 5 +++--
gas/config/tc-aarch64.c | 4 ++--
gas/config/tc-alpha.c | 2 +-
gas/config/tc-arc.c | 2 +-
gas/config/tc-d30v.c | 2 +-
gas/config/tc-i370.c | 2 +-
gas/config/tc-ia64.c | 10 +++++-----
gas/config/tc-m68k.c | 4 ++--
gas/config/tc-mcore.c | 2 +-
gas/config/tc-microblaze.c | 6 +++---
gas/config/tc-mips.c | 4 ++--
gas/config/tc-mmix.c | 12 +++++-------
gas/config/tc-ppc.c | 6 +++---
gas/config/tc-rx.c | 10 +++++-----
gas/config/tc-s390.c | 4 ++--
gas/config/tc-tic54x.c | 7 +++----
gas/config/tc-tilegx.c | 5 +++--
gas/config/tc-tilepro.c | 2 +-
gas/config/tc-xtensa.c | 32 +++++++++++++-------------------
gas/depend.c | 14 +++++++-------
gas/dwarf2dbg.c | 3 +--
gas/ecoff.c | 9 +++------
gas/expr.c | 6 +++---
gas/expr.h | 2 +-
gas/frags.c | 4 ++--
gas/frags.h | 2 +-
gas/input-file.c | 8 +++++---
gas/input-file.h | 2 +-
gas/input-scrub.c | 34 ++++++++++++++++------------------
gas/listing.c | 6 +++---
gas/macro.c | 2 +-
gas/macro.h | 4 ++--
gas/messages.c | 32 ++++++++++++++++----------------
gas/output-file.c | 4 ++--
gas/output-file.h | 4 ++--
gas/read.c | 12 +++++++-----
gas/stabs.c | 19 +++++++++----------
gas/symbols.c | 11 +++--------
gas/write.c | 4 ++--
gas/write.h | 4 ++--
45 files changed, 171 insertions(+), 184 deletions(-)
--
2.7.0