* ld-elfweak/size2.d, ld-elfweak/size2a.s, ld-elfweak/size2b.s:
authorThiemo Seufer <ths@networkno.de>
Wed, 17 May 2006 11:30:24 +0000 (11:30 +0000)
committerThiemo Seufer <ths@networkno.de>
Wed, 17 May 2006 11:30:24 +0000 (11:30 +0000)
Add __start as entry symbol.

ld/testsuite/ChangeLog
ld/testsuite/ld-elfweak/size2.d
ld/testsuite/ld-elfweak/size2a.s
ld/testsuite/ld-elfweak/size2b.s

index ae3ce7acecd4b12a5d1ce16317621795dc60f090..8952691470c202bb98f6368837203f461a211532 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-17  Thiemo Seufer  <ths@mips.com>
+
+       * ld-elfweak/size2.d, ld-elfweak/size2a.s, ld-elfweak/size2b.s:
+       Add __start as entry symbol.
+
 2006-05-16  Thiemo Seufer  <ths@mips.com>
 
        * ld-elf/orphan.ld: Add placement for MIPS .reginfo section.
index 3000512c16cc8b6caa419d9ee15a528524ac02fa..4468dda2d9cc49009e67802026a613bdabc79d90 100644 (file)
@@ -4,7 +4,7 @@
 #readelf: -s
 Symbol table '.symtab' contains .* entries:
 #...
-    .*: [0-9a-f]* +1 +FUNC +GLOBAL +DEFAULT +[0-9] +_start
+    .*: [0-9a-f]* +1 +FUNC +GLOBAL +DEFAULT +[0-9] +__?start
 #...
     .*: [0-9a-f]* +1 +FUNC +WEAK +DEFAULT +[0-9] +foo
 #...
index 66b6d178798fa0f37fa94758365105f5863041e3..c9ad914656f73e09e6de3492fe8c931bebda6f2b 100644 (file)
@@ -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"
index 27b89dbbe2a7f9bc89d8fa7a71b4c354a7237dea..946c838470cbca2fd96ad289c0de134af3984c91 100644 (file)
@@ -1,10 +1,14 @@
        .text
        .weak _start
+       .weak __start
        .type _start, "function"
+       .type __start, "function"
 _start:
+__start:
        .byte 0
        .byte 0
        .size _start, 2
+       .size __start, 2
 
        .weak foo
        .type foo, "function"
This page took 0.039331 seconds and 4 git commands to generate.