2001-11-02 H.J. Lu <hjl@gnu.org>
* ld-elfvsb/elfvsb.exp: Add the "ld -r" test. * ld-elfvsb/hidden0.d: New. * ld-elfvsb/hidden1.d: New. * ld-elfvsb/internal0.d: New. * ld-elfvsb/internal1.d: New. * ld-elfvsb/protected0.d: New. * ld-elfvsb/protected1.d: New. * ld-elfvsb/undef.s: New. * ld-elfvsb/undef.s: New.
This commit is contained in:
parent
dc5e727b86
commit
04827a14fb
|
@ -1,3 +1,16 @@
|
||||||
|
2001-11-02 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
|
* ld-elfvsb/elfvsb.exp: Add the "ld -r" test.
|
||||||
|
|
||||||
|
* ld-elfvsb/hidden0.d: New.
|
||||||
|
* ld-elfvsb/hidden1.d: New.
|
||||||
|
* ld-elfvsb/internal0.d: New.
|
||||||
|
* ld-elfvsb/internal1.d: New.
|
||||||
|
* ld-elfvsb/protected0.d: New.
|
||||||
|
* ld-elfvsb/protected1.d: New.
|
||||||
|
* ld-elfvsb/undef.s: New.
|
||||||
|
* ld-elfvsb/undef.s: New.
|
||||||
|
|
||||||
2001-11-02 NIIBE Yutaka <gniibe@m17n.org>
|
2001-11-02 NIIBE Yutaka <gniibe@m17n.org>
|
||||||
|
|
||||||
* ld-sh/sh.exp: Have its own start.s for linux.
|
* ld-sh/sh.exp: Have its own start.s for linux.
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
.globl protected
|
||||||
|
protected:
|
||||||
|
.globl hidden
|
||||||
|
hidden:
|
||||||
|
.globl internal
|
||||||
|
internal:
|
|
@ -42,6 +42,13 @@ if { [istarget *-*-linux*aout*] \
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
|
||||||
|
foreach t $test_list {
|
||||||
|
# We need to strip the ".d", but can leave the dirname.
|
||||||
|
verbose [file rootname $t]
|
||||||
|
run_dump_test [file rootname $t]
|
||||||
|
}
|
||||||
|
|
||||||
set tmpdir tmpdir
|
set tmpdir tmpdir
|
||||||
set SHCFLAG ""
|
set SHCFLAG ""
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
#source: define.s
|
||||||
|
#source: undef.s
|
||||||
|
#ld: -r
|
||||||
|
#readelf: -s
|
||||||
|
|
||||||
|
Symbol table '.symtab' contains .* entries:
|
||||||
|
Num: Value[ ]+Size Type Bind Vis Ndx Name
|
||||||
|
#...
|
||||||
|
.: [0-9a-fA-F]* 0 NOTYPE GLOBAL HIDDEN . hidden
|
||||||
|
#pass
|
|
@ -0,0 +1,9 @@
|
||||||
|
#source: undef.s
|
||||||
|
#ld: -r
|
||||||
|
#readelf: -s
|
||||||
|
|
||||||
|
Symbol table '.symtab' contains .* entries:
|
||||||
|
Num: Value[ ]+Size Type Bind Vis Ndx Name
|
||||||
|
#...
|
||||||
|
.: [0-9a-fA-F]* 0 NOTYPE GLOBAL HIDDEN UND hidden
|
||||||
|
#pass
|
|
@ -0,0 +1,10 @@
|
||||||
|
#source: define.s
|
||||||
|
#source: undef.s
|
||||||
|
#ld: -r
|
||||||
|
#readelf: -s
|
||||||
|
|
||||||
|
Symbol table '.symtab' contains .* entries:
|
||||||
|
Num: Value[ ]+Size Type Bind Vis Ndx Name
|
||||||
|
#...
|
||||||
|
.: [0-9a-fA-F]* 0 NOTYPE GLOBAL INTERNAL . internal
|
||||||
|
#pass
|
|
@ -0,0 +1,9 @@
|
||||||
|
#source: undef.s
|
||||||
|
#ld: -r
|
||||||
|
#readelf: -s
|
||||||
|
|
||||||
|
Symbol table '.symtab' contains .* entries:
|
||||||
|
Num: Value[ ]+Size Type Bind Vis Ndx Name
|
||||||
|
#...
|
||||||
|
.: [0-9a-fA-F]* 0 NOTYPE GLOBAL INTERNAL UND internal
|
||||||
|
#pass
|
|
@ -0,0 +1,10 @@
|
||||||
|
#source: define.s
|
||||||
|
#source: undef.s
|
||||||
|
#ld: -r
|
||||||
|
#readelf: -s
|
||||||
|
|
||||||
|
Symbol table '.symtab' contains .* entries:
|
||||||
|
Num: Value[ ]+Size Type Bind Vis Ndx Name
|
||||||
|
#...
|
||||||
|
.: [0-9a-fA-F]* 0 NOTYPE GLOBAL PROTECTED . protected
|
||||||
|
#pass
|
|
@ -0,0 +1,9 @@
|
||||||
|
#source: undef.s
|
||||||
|
#ld: -r
|
||||||
|
#readelf: -s
|
||||||
|
|
||||||
|
Symbol table '.symtab' contains .* entries:
|
||||||
|
Num: Value[ ]+Size Type Bind Vis Ndx Name
|
||||||
|
#...
|
||||||
|
.: [0-9a-fA-F]* 0 NOTYPE GLOBAL PROTECTED UND protected
|
||||||
|
#pass
|
|
@ -0,0 +1,3 @@
|
||||||
|
.protected protected
|
||||||
|
.hidden hidden
|
||||||
|
.internal internal
|
Loading…
Reference in New Issue