* ld-elfweak/size2a.s: Extend test to check size for two weaks.

* ld-elfweak/size2b.s: Likewise.
	* ld-elfweak/size2.d: Update.
This commit is contained in:
Alan Modra 2005-07-27 00:08:40 +00:00
parent 80531647e1
commit 9d6404037f
4 changed files with 22 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-07-27 Alan Modra <amodra@bigpond.net.au>
* ld-elfweak/size2a.s: Extend test to check size for two weaks.
* ld-elfweak/size2b.s: Likewise.
* ld-elfweak/size2.d: Update.
2005-07-18 Jan Beulich <jbeulich@novell.com>
* ld-i386/abs.s, ld-i386/zero.s, ld-i386/abs.d, ld-x86-64/abs.d,

View File

@ -4,5 +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
#...

View File

@ -4,3 +4,9 @@
_start:
.byte 0
.size _start, 1
.weak foo
.type foo, "function"
foo:
.byte 0
.size foo, 1

View File

@ -5,3 +5,10 @@ _start:
.byte 0
.byte 0
.size _start, 2
.weak foo
.type foo, "function"
foo:
.byte 0
.byte 0
.size foo, 2