[PATCH 10/13] frags: make fr_file const

tbsaunde+binutils@tbsaunde.org tbsaunde+binutils@tbsaunde.org
Mon Feb 22 12:28:00 GMT 2016


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

gas/ChangeLog:

2016-02-21  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* frags.h (struct frag): Change type of fr_file to const char *.
---
 gas/frags.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gas/frags.h b/gas/frags.h
index ebb5ac4..4a22fe0 100644
--- a/gas/frags.h
+++ b/gas/frags.h
@@ -60,7 +60,7 @@ struct frag {
   struct frag *fr_next;
 
   /* Where the frag was created, or where it became a variant frag.  */
-  char *fr_file;
+  const char *fr_file;
   unsigned int fr_line;
 
 #ifndef NO_LISTING
-- 
2.7.0



More information about the Binutils mailing list