This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 10/13] frags: make fr_file const
- From: tbsaunde+binutils at tbsaunde dot org
- To: binutils at sourceware dot org
- Date: Sun, 21 Feb 2016 21:02:10 -0500
- Subject: [PATCH 10/13] frags: make fr_file const
- Authentication-results: sourceware.org; auth=none
- References: <1456106533-19089-1-git-send-email-tbsaunde+binutils at tbsaunde dot org>
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