aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-02-25 13:45:54 +0000
committerAlan Modra <amodra@gmail.com>2011-02-25 13:45:54 +0000
commite1e9003466dcc4d2c77362fad3817c35179cd5b6 (patch)
tree32cb225770e31b013ed099f44ba00ceaa37b17fb /ld/testsuite
parentfix pr number (diff)
downloadbinutils-gdb-e1e9003466dcc4d2c77362fad3817c35179cd5b6.tar.gz
binutils-gdb-e1e9003466dcc4d2c77362fad3817c35179cd5b6.tar.bz2
binutils-gdb-e1e9003466dcc4d2c77362fad3817c35179cd5b6.zip
PR gas/12519
* config/obj-elf.c (elf_frob_symbol): Properly handle size expression. * ld-mn10300/i135409-3.s: Correct .size label reference. * ld-sh/sh64/stolib.s: Likewise.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-mn10300/i135409-3.s2
-rw-r--r--ld/testsuite/ld-sh/sh64/stolib.s2
3 files changed, 7 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 1de772bd60a..b7de27d9363 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-25 Alan Modra <amodra@gmail.com>
+
+ * ld-mn10300/i135409-3.s: Correct .size label reference.
+ * ld-sh/sh64/stolib.s: Likewise.
+
2011-02-23 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/new.cc: Don't include <exception_defines.h>.
diff --git a/ld/testsuite/ld-mn10300/i135409-3.s b/ld/testsuite/ld-mn10300/i135409-3.s
index e83ad96d2ac..8113b7802f8 100644
--- a/ld/testsuite/ld-mn10300/i135409-3.s
+++ b/ld/testsuite/ld-mn10300/i135409-3.s
@@ -10,7 +10,7 @@ A:
BOTTOM:
.balign 0x8
add D0,D1
- .size _func, .-func
+ .size _func, .-_func
.data
L001:
diff --git a/ld/testsuite/ld-sh/sh64/stolib.s b/ld/testsuite/ld-sh/sh64/stolib.s
index 587faa6d161..a5dee2b2869 100644
--- a/ld/testsuite/ld-sh/sh64/stolib.s
+++ b/ld/testsuite/ld-sh/sh64/stolib.s
@@ -4,4 +4,4 @@
bar:
ptabs r18, tr0
blink tr0, r63
- .Lfe_bar: .size bar,.Lfe_bar-X
+.Lfe_bar: .size bar,.Lfe_bar-bar