summaryrefslogtreecommitdiff
path: root/gas/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-10-11 15:28:10 +0100
committerNick Clifton <nickc@redhat.com>2022-10-11 15:29:03 +0100
commit12509439a1844a1f1095ac4e9d70b59b539e952c (patch)
tree19b6c3b392ad3770de159024fe8668a81ebc9a9f /gas/ChangeLog
parentbabcfd75883790c13de37c86f15de7d4bca582de (diff)
downloadbinutils-gdb-12509439a1844a1f1095ac4e9d70b59b539e952c.tar.gz
Re: Error: attempt to get value of unresolved symbol `L0'
* symbols.c (S_GET_VALUE): If the unresolved symbol is the fake label provide a more helpful error message to the user. (S_GET_VALUE_WHERE): Like S_GET_VALUE, but includes a file/line number for error reporting purposes. * symbols.h (S_GET_VALUE_WHERE): Prototype. * write.c (fixup_segment): Use S_GET_VALUE_WHERE.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r--gas/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index ce4e78cd92f..0be692c6401 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -2,6 +2,10 @@
* symbols.c (S_GET_VALUE): If the unresolved symbol is the fake
label provide a more helpful error message to the user.
+ (S_GET_VALUE_WHERE): Like S_GET_VALUE, but includes a file/line
+ number for error reporting purposes.
+ * symbols.h (S_GET_VALUE_WHERE): Prototype.
+ * write.c (fixup_segment): Use S_GET_VALUE_WHERE.
2022-09-28 Nick Clifton <nickc@redhat.com>