* ld-elfweak/size2.d, ld-elfweak/size2a.s, ld-elfweak/size2b.s:
Add __start as entry symbol.
This commit is contained in:
parent
f3520d2f1d
commit
1038890526
4 changed files with 14 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
#...
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue