This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed, PATCH] 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.
---
 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]