* [committed, PATCH] Add size to bar in ld-gc/pr20022a.s
@ 2017-06-14 12:53 H.J. Lu
0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2017-06-14 12:53 UTC (permalink / raw)
To: binutils
Some linker backends require size info on dynamic symbols.
* testsuite/ld-gc/pr20022a.s: Add size to bar.
---
ld/testsuite/ld-gc/pr20022a.s | 1 +
1 file changed, 1 insertion(+)
diff --git a/ld/testsuite/ld-gc/pr20022a.s b/ld/testsuite/ld-gc/pr20022a.s
index 6bd346f..5c0e19f 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"
--
2.9.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-14 12:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-14 12:53 [committed, PATCH] Add size to bar in ld-gc/pr20022a.s H.J. Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).