From: H.J. Lu Date: Wed, 14 Jun 2017 12:51:59 +0000 (-0700) Subject: Add size to bar in ld-gc/pr20022a.s X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f78d1b3ae1cee2bc1a2be4b3c30df9627e13fdc1;p=binutils-gdb.git Add size to bar in ld-gc/pr20022a.s Some linker backends require size info on dynamic symbols. * testsuite/ld-gc/pr20022a.s: Add size to bar. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 371859a6db1..8c60970d865 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2017-06-14 H.J. Lu + + * testsuite/ld-gc/pr20022a.s: Add size to bar. + 2017-06-14 H.J. Lu * testsuite/ld-elf/sizeofa.d: Skip on targets with leading char diff --git a/ld/testsuite/ld-gc/pr20022a.s b/ld/testsuite/ld-gc/pr20022a.s index 6bd346fe219..5c0e19f767c 100644 --- a/ld/testsuite/ld-gc/pr20022a.s +++ b/ld/testsuite/ld-gc/pr20022a.s @@ -3,6 +3,7 @@ .type bar,%object bar: .dc.a __start__foo + .size bar, .-bar .section _foo,"aw",%progbits foo: .ascii "This is bar"