aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfweak/size2a.s
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-05-17 11:30:24 +0000
committerThiemo Seufer <ths@networkno.de>2006-05-17 11:30:24 +0000
commit10388905265275f94845fbefde8969194864873a (patch)
tree30c2118053316f864115dc39d6431e51fa58acf5 /ld/testsuite/ld-elfweak/size2a.s
parentf3520d2f1d37d9f1e0af30da31be7a729962f602 (diff)
downloadgdb-10388905265275f94845fbefde8969194864873a.zip
gdb-10388905265275f94845fbefde8969194864873a.tar.gz
gdb-10388905265275f94845fbefde8969194864873a.tar.bz2
* ld-elfweak/size2.d, ld-elfweak/size2a.s, ld-elfweak/size2b.s:
Add __start as entry symbol.
Diffstat (limited to 'ld/testsuite/ld-elfweak/size2a.s')
-rw-r--r--ld/testsuite/ld-elfweak/size2a.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfweak/size2a.s b/ld/testsuite/ld-elfweak/size2a.s
index 66b6d17..c9ad914 100644
--- a/ld/testsuite/ld-elfweak/size2a.s
+++ b/ld/testsuite/ld-elfweak/size2a.s
@@ -1,9 +1,13 @@
.text
.global _start
+ .global __start
.type _start, "function"
+ .type __start, "function"
_start:
+__start:
.byte 0
.size _start, 1
+ .size __start, 1
.weak foo
.type foo, "function"