This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/6] misc constification of strings


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]