[PATCH 0/6] misc constification of strings

tbsaunde+binutils@tbsaunde.org tbsaunde+binutils@tbsaunde.org
Wed Feb 17 03:54:00 GMT 2016


From: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>

Hi,

It generaly seems like a good idea to make things const when possible,
especially when we sometimes make them point to literals.

patches individually built and tested on x86_64-linux-gnu, ok?

Trev

Trevor Saunders (6):
  constify decode_local_label_name::type
  listing.c: misc constification of strings
  messages.c: constify argument to as_internal_value_out_of_range ()
  stabs.c: misc constification
  read.c: constify _bfd_rel::name
  app.c: constify out_string

 gas/app.c      |  4 ++--
 gas/listing.c  | 15 ++++++++-------
 gas/messages.c |  2 +-
 gas/read.c     |  2 +-
 gas/stabs.c    |  8 +++++---
 gas/symbols.c  |  2 +-
 6 files changed, 18 insertions(+), 15 deletions(-)

-- 
2.7.0



More information about the Binutils mailing list