aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-09 04:17:10 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-09 04:17:24 -0700
commit76f361eb4934dcda0626517c311b34fbc92d09b9 (patch)
treed143cd18021208ec0d2365bf8c3b4134ead314fc /ld/ChangeLog
parent5d3b558acd329de9dcbd63d9bb04242b31fad490 (diff)
downloadgdb-76f361eb4934dcda0626517c311b34fbc92d09b9.zip
gdb-76f361eb4934dcda0626517c311b34fbc92d09b9.tar.gz
gdb-76f361eb4934dcda0626517c311b34fbc92d09b9.tar.bz2
ld: Don't allow '~' as the first char in symbol name
Don't allow '~' as the first character in symbol name in linker script. PR ld/22267 * ldlex.l (SYMBOLNAMECHAR1) New. (DEFSYMEXP): Replace FILENAMECHAR1 with SYMBOLNAMECHAR1. (EXPRESSION): Likewise. * testsuite/ld-scripts/expr.exp: Run pr22267. * testsuite/ld-scripts/pr22267.d: New file. * testsuite/ld-scripts/pr22267.s: Likewise. * testsuite/ld-scripts/pr22267.t: Likewise.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r--ld/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 55e36a5..18d4b1e 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,14 @@
+2017-10-09 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/22267
+ * ldlex.l (SYMBOLNAMECHAR1) New.
+ (DEFSYMEXP): Replace FILENAMECHAR1 with SYMBOLNAMECHAR1.
+ (EXPRESSION): Likewise.
+ * testsuite/ld-scripts/expr.exp: Run pr22267.
+ * testsuite/ld-scripts/pr22267.d: New file.
+ * testsuite/ld-scripts/pr22267.s: Likewise.
+ * testsuite/ld-scripts/pr22267.t: Likewise.
+
2017-10-07 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-elf/merge.d: Don't expect to fail for sparc.