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.
This commit is contained in:
H.J. Lu 2017-06-14 05:51:59 -07:00
parent b6947a7f08
commit f78d1b3ae1
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-gc/pr20022a.s: Add size to bar.
2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-elf/sizeofa.d: Skip on targets with leading char

View File

@ -3,6 +3,7 @@
.type bar,%object
bar:
.dc.a __start__foo
.size bar, .-bar
.section _foo,"aw",%progbits
foo:
.ascii "This is bar"