This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Results for binutils 2.13.90 20021204 testsuite on sparc64-unknown-linux-gnu


On Wed, Dec 04, 2002 at 08:10:47AM +0100, Christian Jönsson wrote:
> This was on a Aurora SPARC Linux 0.42 build (Douglas) Ultra1
> sun4u system with these packages:
> 
> binutils 2.13.1 20021124 sparc64-linux
> bison-1.35-1
> dejagnu-1.4.3-0   (built ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-1.4.3-0.src.rpm)
> expect-5.32.2-67
> gcc 3.2.2 20021122 (prerelease) sparc64-linux
> glibc-2.2.5-40
> glibc64-2.2.5-40
> kernel-2.4.19-1.2sparc
> tcl-8.3.3-67
> 
> In-tree joined gcc and binutils cvs trunks.
> 
> LAST_UPDATED: Wed Dec  4 06:11:58 UTC 2002
> 
> Native configuration is sparc64-unknown-linux-gnu
> 

This is what is found in the log files of the ld testrun.

Test Run By chj on Wed Dec  4 07:45:25 2002
Native configuration is sparc64-unknown-linux-gnu

		=== ld tests ===

Schedule of variations:
    unix/-m32
    unix/-fPIC
    unix/-fpic
    unix

Running target unix/-m32

<snip>

Running /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-cdtest/cdtest.exp ...
c++ -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2 -fgnu-linker -fno-exceptions -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-cdtest -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-cdtest/cdtest-foo.cc -o tmpdir/cdtest-foo.o
c++ -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2 -fgnu-linker -fno-exceptions -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-cdtest -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-cdtest/cdtest-bar.cc -o tmpdir/cdtest-bar.o
c++ -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2 -fgnu-linker -fno-exceptions -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-cdtest -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-cdtest/cdtest-main.cc -o tmpdir/cdtest-main.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/cdtest -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o tmpdir/cdtest-foo.o tmpdir/cdtest-bar.o tmpdir/cdtest-main.o  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/cdtest-foo.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/cdtest-bar.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/cdtest-main.o' is incompatible with sparc:v9 output
FAIL: cdtest
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc -o tmpdir/cdtest.o -r -Ur tmpdir/cdtest-foo.o tmpdir/cdtest-bar.o tmpdir/cdtest-main.o
lt-ld-new: Relocatable linking with relocations from format elf32-sparc (tmpdir/cdtest-foo.o) to format elf64-sparc (tmpdir/cdtest.o) is not supported
FAIL: cdtest with -Ur
testcase /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-cdtest/cdtest.exp completed in 4 seconds

<snip>

gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2 -DPROTECTED_CHECK -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/main.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/main -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o tmpdir/main.o  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/main.o' is incompatible with sparc:v9 output
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -fpic
gcc: no input files
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1np.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
FAIL: visibility (hidden) (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
FAIL: visibility (hidden) (non PIC, load offset)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1p.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2p.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x214): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:207: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x21c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x26c): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x274):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x298): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2c8): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2f8): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x318): In function `visibility_varval':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: relocation truncated to fit: R_SPARC_GOT13 visibility_var
FAIL: visibility (hidden)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
FAIL: visibility (hidden) (PIC main, non PIC so)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x214): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:207: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x21c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x26c): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x274):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x298): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2c8): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2f8): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x318): In function `visibility_varval':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: relocation truncated to fit: R_SPARC_GOT13 visibility_var
FAIL: visibility (hidden) (PIC main)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_NORMAL_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_NORMAL_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1np.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_NORMAL_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
FAIL: visibility (hidden_normal) (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
FAIL: visibility (hidden_normal) (non PIC, load offset)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_NORMAL_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1p.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_NORMAL_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2p.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x21c): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:207: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x224):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x274): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x27c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x2a0): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: relocation truncated to fit: R_SPARC_GOT13 visibility_var_normal
tmpdir/sh1p.o(.text+0x2d0): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:288: relocation truncated to fit: R_SPARC_GOT13 visibility_var_normal
tmpdir/sh1p.o(.text+0x300): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x320): In function `visibility_varval':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: relocation truncated to fit: R_SPARC_GOT13 visibility_var
FAIL: visibility (hidden_normal)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_NORMAL_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
FAIL: visibility (hidden_normal) (PIC main, non PIC so)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x21c): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:207: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x224):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x274): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x27c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x2a0): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: relocation truncated to fit: R_SPARC_GOT13 visibility_var_normal
tmpdir/sh1p.o(.text+0x2d0): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:288: relocation truncated to fit: R_SPARC_GOT13 visibility_var_normal
tmpdir/sh1p.o(.text+0x300): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x320): In function `visibility_varval':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: relocation truncated to fit: R_SPARC_GOT13 visibility_var
FAIL: visibility (hidden_normal) (PIC main)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_UNDEF_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_UNDEF_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1np.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_UNDEF_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x150): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x174): In function `visibility_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:232: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x194): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x19c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x1a0): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1a4):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1b8): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1bc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1d0): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1d8):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: more undefined references to `visibility_var' follow
PASS: visibility (hidden_undef) (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x150): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x174): In function `visibility_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:232: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x194): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x19c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x1a0): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1a4):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1b8): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1bc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1d0): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1d8):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: more undefined references to `visibility_var' follow
PASS: visibility (hidden_undef) (non PIC, load offset)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_UNDEF_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1p.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_UNDEF_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2p.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x20c): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:207: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x214):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x218):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `visibility'
tmpdir/sh1p.o(.text+0x240): In function `visibility_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:232: undefined reference to `visibility'
tmpdir/sh1p.o(.text+0x264): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x26c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x270):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `visibility'
tmpdir/sh1p.o(.text+0x284): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:265: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x28c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x290):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `visibility_var'
tmpdir/sh1p.o(.text+0x2b4): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:283: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x2bc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x2c0):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `visibility_var'
tmpdir/sh1p.o(.text+0x2e4): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:297: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x2ec):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x2f0):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: undefined reference to `visibility_var'
tmpdir/sh1p.o(.text+0x304): In function `visibility_varval':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:308: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x30c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x310):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: undefined reference to `visibility_var'
PASS: visibility (hidden_undef)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_UNDEF_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x150): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x174): In function `visibility_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:232: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x194): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x19c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x1a0): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1a4):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1b8): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1bc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1d0): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1d8):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: more undefined references to `visibility_var' follow
PASS: visibility (hidden_undef) (PIC main, non PIC so)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x20c): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:207: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x214):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x218):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `visibility'
tmpdir/sh1p.o(.text+0x240): In function `visibility_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:232: undefined reference to `visibility'
tmpdir/sh1p.o(.text+0x264): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x26c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x270):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `visibility'
tmpdir/sh1p.o(.text+0x284): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:265: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x28c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x290):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `visibility_var'
tmpdir/sh1p.o(.text+0x2b4): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:283: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x2bc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x2c0):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `visibility_var'
tmpdir/sh1p.o(.text+0x2e4): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:297: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x2ec):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x2f0):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: undefined reference to `visibility_var'
tmpdir/sh1p.o(.text+0x304): In function `visibility_varval':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:308: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x30c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x310):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: undefined reference to `visibility_var'
PASS: visibility (hidden_undef) (PIC main)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_UNDEF_TEST -DDSO_DEFINE_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_UNDEF_TEST -DDSO_DEFINE_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1np.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_UNDEF_TEST -DDSO_DEFINE_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
FAIL: visibility (hidden_undef_def) (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
FAIL: visibility (hidden_undef_def) (non PIC, load offset)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_UNDEF_TEST -DDSO_DEFINE_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1p.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_UNDEF_TEST -DDSO_DEFINE_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2p.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x20c): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:207: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x214):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x264): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x26c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x290): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2c0): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2f0): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x310): In function `visibility_varval':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: relocation truncated to fit: R_SPARC_GOT13 visibility_var
FAIL: visibility (hidden_undef_def)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_UNDEF_TEST -DDSO_DEFINE_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
FAIL: visibility (hidden_undef_def) (PIC main, non PIC so)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x20c): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:207: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x214):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x264): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x26c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x290): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2c0): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2f0): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x310): In function `visibility_varval':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: relocation truncated to fit: R_SPARC_GOT13 visibility_var
FAIL: visibility (hidden_undef_def) (PIC main)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_WEAK_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_WEAK_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1np.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_WEAK_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
FAIL: visibility (hidden_weak) (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
FAIL: visibility (hidden_weak) (non PIC, load offset)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_WEAK_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1p.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_WEAK_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2p.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x214): In function `visibility_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:222: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x21c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:224: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x254): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x25c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:241: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
FAIL: visibility (hidden_weak)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_WEAK_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
FAIL: visibility (hidden_weak) (PIC main, non PIC so)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x214): In function `visibility_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:222: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x21c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:224: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x254): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x25c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:241: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
FAIL: visibility (hidden_weak) (PIC main)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1np.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
XFAIL: visibility (protected) (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
XFAIL: visibility (protected) (non PIC, load offset)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1p.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2p.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x214): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:207: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x21c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x26c): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x274):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x298): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2c8): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2f8): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x318): In function `visibility_varval':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: relocation truncated to fit: R_SPARC_GOT13 visibility_var
XFAIL: visibility (protected)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
XFAIL: visibility (protected) (PIC main, non PIC so)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x214): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:207: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x21c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x26c): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x274):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x298): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2c8): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2f8): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x318): In function `visibility_varval':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: relocation truncated to fit: R_SPARC_GOT13 visibility_var
XFAIL: visibility (protected) (PIC main)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_UNDEF_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_UNDEF_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1np.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_UNDEF_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x150): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x174): In function `visibility_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:232: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x194): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x19c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x1a0): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1a4):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1b8): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1bc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1d0): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1d8):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: more undefined references to `visibility_var' follow
PASS: visibility (protected_undef) (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x150): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x174): In function `visibility_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:232: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x194): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x19c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x1a0): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1a4):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1b8): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1bc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1d0): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1d8):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: more undefined references to `visibility_var' follow
PASS: visibility (protected_undef) (non PIC, load offset)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_UNDEF_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1p.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_UNDEF_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2p.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x20c): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:207: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x214):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x218):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `visibility'
tmpdir/sh1p.o(.text+0x240): In function `visibility_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:232: undefined reference to `visibility'
tmpdir/sh1p.o(.text+0x264): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x26c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x270):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `visibility'
tmpdir/sh1p.o(.text+0x284): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:265: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x28c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x290):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `visibility_var'
tmpdir/sh1p.o(.text+0x2b4): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:283: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x2bc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x2c0):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `visibility_var'
tmpdir/sh1p.o(.text+0x2e4): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:297: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x2ec):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x2f0):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: undefined reference to `visibility_var'
tmpdir/sh1p.o(.text+0x304): In function `visibility_varval':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:308: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x30c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x310):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: undefined reference to `visibility_var'
PASS: visibility (protected_undef)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_UNDEF_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x150): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x174): In function `visibility_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:232: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x194): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x19c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `visibility'
tmpdir/sh1np.o(.text+0x1a0): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1a4):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1b8): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1bc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1d0): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: undefined reference to `visibility_var'
tmpdir/sh1np.o(.text+0x1d8):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: more undefined references to `visibility_var' follow
PASS: visibility (protected_undef) (PIC main, non PIC so)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x20c): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:207: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x214):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x218):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `visibility'
tmpdir/sh1p.o(.text+0x240): In function `visibility_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:232: undefined reference to `visibility'
tmpdir/sh1p.o(.text+0x264): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x26c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x270):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: undefined reference to `visibility'
tmpdir/sh1p.o(.text+0x284): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:265: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x28c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x290):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: undefined reference to `visibility_var'
tmpdir/sh1p.o(.text+0x2b4): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:283: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x2bc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x2c0):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: undefined reference to `visibility_var'
tmpdir/sh1p.o(.text+0x2e4): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:297: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x2ec):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x2f0):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: undefined reference to `visibility_var'
tmpdir/sh1p.o(.text+0x304): In function `visibility_varval':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:308: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x30c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x310):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: undefined reference to `visibility_var'
PASS: visibility (protected_undef) (PIC main)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_UNDEF_TEST -DDSO_DEFINE_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_UNDEF_TEST -DDSO_DEFINE_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1np.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_UNDEF_TEST -DDSO_DEFINE_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
XFAIL: visibility (protected_undef_def) (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
XFAIL: visibility (protected_undef_def) (non PIC, load offset)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_UNDEF_TEST -DDSO_DEFINE_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1p.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_UNDEF_TEST -DDSO_DEFINE_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2p.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x20c): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:207: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x214):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x264): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x26c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x290): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2c0): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2f0): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x310): In function `visibility_varval':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: relocation truncated to fit: R_SPARC_GOT13 visibility_var
XFAIL: visibility (protected_undef_def)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_UNDEF_TEST -DDSO_DEFINE_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
XFAIL: visibility (protected_undef_def) (PIC main, non PIC so)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x20c): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:207: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x214):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x264): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x26c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x290): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2c0): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2f0): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x310): In function `visibility_varval':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: relocation truncated to fit: R_SPARC_GOT13 visibility_var
XFAIL: visibility (protected_undef_def) (PIC main)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_WEAK_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_WEAK_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1np.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_WEAK_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
FAIL: visibility (protected_weak) (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
FAIL: visibility (protected_weak) (non PIC, load offset)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_WEAK_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1p.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_WEAK_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2p.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x214): In function `visibility_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:222: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x21c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:224: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x254): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x25c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:241: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
FAIL: visibility (protected_weak)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_WEAK_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
FAIL: visibility (protected_weak) (PIC main, non PIC so)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x214): In function `visibility_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:222: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x21c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:224: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x254): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x25c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:241: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
FAIL: visibility (protected_weak) (PIC main)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2   -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2   -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1np.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2   -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
FAIL: visibility (normal) (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
FAIL: visibility (normal) (non PIC, load offset)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2   -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1p.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2   -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2p.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x214): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:207: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x21c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x26c): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x274):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x298): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2c8): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2f8): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x318): In function `visibility_varval':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: relocation truncated to fit: R_SPARC_GOT13 visibility_var
FAIL: visibility (normal)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2   -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
FAIL: visibility (normal) (PIC main, non PIC so)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:31: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:32: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:39: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:40: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:46: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:47: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:52: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:53: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:94: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:104: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:105: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:115: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:116: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:124: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:126: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:133: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:135: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:150: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:153: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:160: relocation truncated to fit: R_SPARC_GOT13 str
tmpdir/sh1p.o(.text+0x214): In function `visibility_checkfunptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:207: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x21c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:216: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x26c): In function `visibility_funptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:239: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x274):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:246: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x298): In function `visibility_checkvarptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:277: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2c8): In function `visibility_checkvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:290: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x2f8): In function `visibility_varptr':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:304: relocation truncated to fit: R_SPARC_GOT13 visibility_var
tmpdir/sh1p.o(.text+0x318): In function `visibility_varval':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c:314: relocation truncated to fit: R_SPARC_GOT13 visibility_var
FAIL: visibility (normal) (PIC main)
testcase
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/elfvsb.exp
completed in 59 seconds

<snip>

Running /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/elfweak.exp ...
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -fpic
gcc: no input files
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2 -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/foo.c -o tmpdir/foo.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2 -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/bar.c -o tmpdir/bar.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2 -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/main.c -o tmpdir/main.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/libbar.so -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o --shared tmpdir/bar.o  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/bar.o' is incompatible with sparc:v9 output
FAIL: ELF weak
testcase
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfweak/elfweak.exp
completed in 2 seconds

<snip>

Running /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/selective.exp ...
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/1.c -o tmpdir/1.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/1.x --gc-sections -Bstatic  tmpdir/1.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/1.o' is incompatible with sparc:v9 output
FAIL: selective1
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/2.c -o tmpdir/2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/2.x --gc-sections -Bstatic  tmpdir/2.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/2.o' is incompatible with sparc:v9 output
FAIL: selective2
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/2.c -o tmpdir/2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/2.x --gc-sections -Bstatic -u foo tmpdir/2.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/2.o' is incompatible with sparc:v9 output
FAIL: selective3
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -fvtable-gc -fno-exceptions -fno-rtti -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/3.cc -o tmpdir/3.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/3.x --gc-sections -Bstatic  tmpdir/3.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/3.o' is incompatible with sparc:v9 output
FAIL: selective4
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -fvtable-gc -fno-exceptions -fno-rtti -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/4.cc -o tmpdir/4.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/4.x --gc-sections -Bstatic  tmpdir/4.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/4.o' is incompatible with sparc:v9 output
FAIL: selective5

<snip>

Running /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/shared.exp ...
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -fpic
gcc: no input files
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2  -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2  -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c -o tmpdir/sh1np.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2  -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/shnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:28: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:90: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:112: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:112: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:131: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:131: undefined reference to `main_called'
FAIL: shared (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/shnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:28: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:90: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:112: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:112: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:131: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:131: undefined reference to `main_called'
FAIL: shared (non PIC, load offset)
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2  -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c -o tmpdir/sh1p.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2  -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh2.c -o tmpdir/sh2p.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/shp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:27: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:28: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:28: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:35: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:36: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:36: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:42: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:43: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:43: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:48: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:49: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:49: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:90: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:100: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:101: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:111: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:112: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:112: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:120: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:122: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:129: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:131: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:131: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:146: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:149: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:149: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:156: relocation truncated to fit: R_SPARC_GOT13 str
FAIL: shared
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2 -DSYMBOLIC_TEST -DXCOFF_TEST  -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2 -DSYMBOLIC_TEST -DXCOFF_TEST  -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c -o tmpdir/sh1p.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/shp.so -shared -Bsymbolic tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:42: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:43: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:43: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x30): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:48: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:49: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:49: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0x64): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:100: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x6c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:101: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0xbc): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:149: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0xd4):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:156: relocation truncated to fit: R_SPARC_GOT13 str
FAIL: shared -Bsymbolic
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2  -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2  -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c -o tmpdir/sh1p.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2  -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/shmpnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1np.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2np.o' is incompatible with sparc:v9 output
tmpdir/sh1np.o(.text+0x0): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:28: undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x8): undefined reference to `mainvar'
tmpdir/sh1np.o(.text+0x5c): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:90: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x80): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:112: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0x84):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:112: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xa4): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:131: undefined reference to `main_called'
tmpdir/sh1np.o(.text+0xac):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:131: undefined reference to `main_called'
FAIL: shared (PIC main, non PIC so)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/shmpp.so -shared  tmpdir/sh1p.o tmpdir/sh2p.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh1p.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sh2p.o' is incompatible with sparc:v9 output
tmpdir/sh1p.o(.text+0xc): In function `shlib_mainvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:27: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:28: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x18):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:28: undefined reference to `mainvar'
tmpdir/sh1p.o(.text+0x30): In function `shlib_overriddenvar':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:35: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:36: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:36: relocation truncated to fit: R_SPARC_GOT13 overriddenvar
tmpdir/sh1p.o(.text+0x54): In function `shlib_shlibvar1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:42: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:43: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:43: relocation truncated to fit: R_SPARC_GOT13 shlibvar1
tmpdir/sh1p.o(.text+0x78): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:48: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x80):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:49: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sh1p.o(.text+0x84): In function `shlib_shlibvar2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:49: relocation truncated to fit: R_SPARC_GOT13 shlibvar2
tmpdir/sh1p.o(.text+0xc4): In function `shlib_maincall':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:90: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0xd4): In function `shlib_checkfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:100: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0xdc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:101: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x100): In function `shlib_checkfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:111: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x108):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:112: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x10c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:112: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x12c): In function `shlib_getfunptr1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:120: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x134):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:122: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x14c): In function `shlib_getfunptr2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:129: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x154):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:131: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x158):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:131: undefined reference to `main_called'
tmpdir/sh1p.o(.text+0x16c): In function `shlib_check':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:146: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x174):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:149: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sh1p.o(.text+0x178):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:149: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sh1p.o(.text+0x190):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c:156: relocation truncated to fit: R_SPARC_GOT13 str
FAIL: shared (PIC main)
testcase /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/shared.exp completed in 8 seconds
Running /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/srec.exp ...
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c -o tmpdir/sr1.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c -o tmpdir/sr2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/sr1  -Ttext 0x1000 tmpdir/sr1.o tmpdir/sr2.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sr1.o' is incompatible with sparc:v9 output
lt-ld-new: warning: sparc architecture of input file `tmpdir/sr2.o' is incompatible with sparc:v9 output

FAIL: S-records
c++ -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2 -fgnu-linker -fno-exceptions -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc -o tmpdir/sr3.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/sr1  -Ttext 0x1000 tmpdir/sr3.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/sr3.o' is incompatible with sparc:v9 output

FAIL: S-records with constructors
testcase /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/srec.exp completed in 2 seconds
Running /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-undefined/undefined.exp ...
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-undefined -g -O2  -m32 -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-undefined/undefined.c -o tmpdir/undefined.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -e start  -o tmpdir/undefined tmpdir/undefined.o
lt-ld-new: warning: sparc architecture of input file `tmpdir/undefined.o' is incompatible with sparc:v9 output
lt-ld-new: warning: cannot find entry symbol start; defaulting to 00000000001000b0
tmpdir/undefined.o(.text+0x4): In function `function':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-undefined/undefined.c:9: undefined reference to `this_function_is_not_defined'

<snip>

		=== ld Summary for unix/-m32 ===

# of expected passes		79
# of unexpected failures	46
# of expected failures		12
Running target unix/-fPIC

<snip>

Running /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/selective.exp ...
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -fPIC -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/1.c -o tmpdir/1.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/1.x --gc-sections -Bstatic  tmpdir/1.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/../binutils/nm-new  --demangle tmpdir/1.x >tmpdir/nm.out
selective1: dropme1 == 0x00000000001000e0
FAIL: selective1
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -fPIC -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/2.c -o tmpdir/2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/2.x --gc-sections -Bstatic  tmpdir/2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/../binutils/nm-new  --demangle tmpdir/2.x >tmpdir/nm.out
selective2: foo == 0x0000000000100120
FAIL: selective2
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -fPIC -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/2.c -o tmpdir/2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/2.x --gc-sections -Bstatic -u foo tmpdir/2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/../binutils/nm-new  --demangle tmpdir/2.x >tmpdir/nm.out
PASS: selective3
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -fvtable-gc -fno-exceptions -fno-rtti -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -fPIC -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/3.cc -o tmpdir/3.o
/tmp/ccQn3RZi.s: Assembler messages:
/tmp/ccQn3RZi.s:122: Error: internal error: can't export reloc type 525 (`BFD_RELOC_VTABLE_ENTRY')
/tmp/ccQn3RZi.s:172: Error: internal error: can't export reloc type 524 (`BFD_RELOC_VTABLE_INHERIT')
/tmp/ccQn3RZi.s:197: Error: internal error: can't export reloc type 524 (`BFD_RELOC_VTABLE_INHERIT')
ERROR: /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/3.cc: compilation failed
UNRESOLVED: selective4
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -fvtable-gc -fno-exceptions -fno-rtti -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -fPIC -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/4.cc -o tmpdir/4.o
/tmp/ccU5qb0M.s: Assembler messages:
/tmp/ccU5qb0M.s:122: Error: internal error: can't export reloc type 525 (`BFD_RELOC_VTABLE_ENTRY')
/tmp/ccU5qb0M.s:172: Error: internal error: can't export reloc type 524 (`BFD_RELOC_VTABLE_INHERIT')
/tmp/ccU5qb0M.s:197: Error: internal error: can't export reloc type 524 (`BFD_RELOC_VTABLE_INHERIT')
ERROR: /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/4.cc: compilation failed
UNRESOLVED: selective5
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -fvtable-gc -fno-exceptions -fno-rtti -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -fPIC -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/5.cc -o tmpdir/5.o
/tmp/ccIHZsxj.s: Assembler messages:
/tmp/ccIHZsxj.s:121: Error: internal error: can't export reloc type 525 (`BFD_RELOC_VTABLE_ENTRY')
/tmp/ccIHZsxj.s:175: Error: internal error: can't export reloc type 525 (`BFD_RELOC_VTABLE_ENTRY')
/tmp/ccIHZsxj.s:225: Error: internal error: can't export reloc type 524 (`BFD_RELOC_VTABLE_INHERIT')
/tmp/ccIHZsxj.s:250: Error: internal error: can't export reloc type 524 (`BFD_RELOC_VTABLE_INHERIT')
ERROR: /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/5.cc: compilation failed
UNRESOLVED: selective6
testcase /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/selective.exp completed in 4 seconds

<snip>

Running /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/srec.exp ...
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec -g -O2  -fPIC -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c -o tmpdir/sr1.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec -g -O2  -fPIC -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c -o tmpdir/sr2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/sr1  -Ttext 0x1000 tmpdir/sr1.o tmpdir/sr2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/sr2.sr  -Ttext 0x1000 --oformat srec tmpdir/sr1.o tmpdir/sr2.o
tmpdir/sr1.o(.text+0x24): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:18: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr1.o(.text+0x2c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:18: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr2.o(.text+0x24): In function `fn1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c:10: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr2.o(.text+0x2c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c:10: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr2.o(.text+0x64): In function `fn2':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c:17: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr2.o(.text+0x6c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c:17: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
FAIL: S-records
c++ -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2 -fgnu-linker -fno-exceptions -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec -g -O2  -fPIC -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc -o tmpdir/sr3.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/sr1  -Ttext 0x1000 tmpdir/sr3.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/sr2.sr  -Ttext 0x1000 --oformat srec tmpdir/sr3.o
tmpdir/sr3.o(.text+0x24): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:25: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0x2c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:26: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0x184): In function `Foo::init_foo()':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:88: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0x18c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:88: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0x1c4): In function `Foo::Foo()':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:93: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0x1cc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:93: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
FAIL: S-records with constructors
testcase /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/srec.exp completed in 2 seconds

<snip>

		=== ld Summary for unix/-fPIC ===

# of expected passes		138
# of unexpected failures	4
# of expected failures		13
# of unresolved testcases	3
Running target unix/-fpic

<snip>

gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -S -g -O2 -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers -g -O2  -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers3.c -o tmpdir/vers3.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/../gas/as-new   -o tmpdir/vers3.o tmpdir/vers3.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vers3 -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o  tmpdir/vers3.o tmpdir/vers1.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vers3.o(.text+0x40): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers3.c:11: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
FAIL: vers3
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -S -g -O2 -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers -g -O2  -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers4.c -o tmpdir/vers4.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/../gas/as-new   -o tmpdir/vers4.o tmpdir/vers4.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vers4 -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o  tmpdir/vers4.o   -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vers4.o(.text+0x80): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers4.c:29: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
FAIL: vers4
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -S -g -O2 -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers -g -O2  -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers4.c -o tmpdir/vers4a.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/../gas/as-new   -o tmpdir/vers4a.o tmpdir/vers4a.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vers4a -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -export-dynamic tmpdir/vers4a.o   -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vers4a.o(.text+0x80): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers4.c:29: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
FAIL: vers4a
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -S  -g -O2 -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers -g -O2  -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers5.c -o tmpdir/vers5.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/../gas/as-new   -o tmpdir/vers5.o tmpdir/vers5.s
This link should fail because of multiple definition of foo@VERS_1.2
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vers5 -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o tmpdir/vers5.o    -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vers5.o(*IND*+0x0):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers5.c:12: multiple definition of `foo@VERS_1.2'
tmpdir/vers5.o(.text+0x60):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers5.c:30: first defined here
PASS: vers5
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -S -g -O2 -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers -g -O2  -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers6.c -o tmpdir/vers6.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/../gas/as-new   -o tmpdir/vers6.o tmpdir/vers6.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vers6 -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o  tmpdir/vers6.o tmpdir/vers1.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vers6.o(.text+0x40): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers6.c:17: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
tmpdir/vers6.o(.text+0x54):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers6.c:18: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
tmpdir/vers6.o(.text+0x68):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers6.c:18: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
tmpdir/vers6.o(.text+0x7c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers6.c:18: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
FAIL: vers6

<snip>

gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -S -g -O2 -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers -g -O2  -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers15.c -o tmpdir/vers15.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/../gas/as-new   -o tmpdir/vers15.o tmpdir/vers15.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vers15 -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o  tmpdir/vers15.o tmpdir/vers1.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vers15.o(.text+0x80): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers15.c:28: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
tmpdir/vers15.o(.text+0x94):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers15.c:29: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
tmpdir/vers15.o(.text+0xa8):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers15.c:30: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
FAIL: vers15

<snip>

gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -S -g -O2 -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers -g -O2  -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers19.c -o tmpdir/vers19.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/../gas/as-new   -o tmpdir/vers19.o tmpdir/vers19.s
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vers19 -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath . tmpdir/vers19.o tmpdir/vers18.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vers19.o(.text+0x40): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvers/vers19.c:8: relocation truncated to fit: R_SPARC_13 .rodata.str1.8
FAIL: vers19

<snip>

testcase /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/sel-dump.exp completed in 1 seconds
Running /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/selective.exp ...
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/1.c -o tmpdir/1.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/1.x --gc-sections -Bstatic  tmpdir/1.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/../binutils/nm-new  --demangle tmpdir/1.x >tmpdir/nm.out
selective1: dropme1 == 0x00000000001000e0
FAIL: selective1
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/2.c -o tmpdir/2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/2.x --gc-sections -Bstatic  tmpdir/2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/../binutils/nm-new  --demangle tmpdir/2.x >tmpdir/nm.out
selective2: foo == 0x0000000000100120
FAIL: selective2

<snip>

gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -fvtable-gc -fno-exceptions -fno-rtti -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/3.cc -o tmpdir/3.o
/tmp/ccu0Lyvi.s: Assembler messages:
/tmp/ccu0Lyvi.s:117: Error: internal error: can't export reloc type 525 (`BFD_RELOC_VTABLE_ENTRY')
/tmp/ccu0Lyvi.s:167: Error: internal error: can't export reloc type 524 (`BFD_RELOC_VTABLE_INHERIT')
/tmp/ccu0Lyvi.s:192: Error: internal error: can't export reloc type 524 (`BFD_RELOC_VTABLE_INHERIT')
ERROR: /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/3.cc: compilation failed
UNRESOLVED: selective4
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -fvtable-gc -fno-exceptions -fno-rtti -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/4.cc -o tmpdir/4.o
/tmp/ccOw5ZaM.s: Assembler messages:
/tmp/ccOw5ZaM.s:117: Error: internal error: can't export reloc type 525 (`BFD_RELOC_VTABLE_ENTRY')
/tmp/ccOw5ZaM.s:167: Error: internal error: can't export reloc type 524 (`BFD_RELOC_VTABLE_INHERIT')
/tmp/ccOw5ZaM.s:192: Error: internal error: can't export reloc type 524 (`BFD_RELOC_VTABLE_INHERIT')
ERROR: /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/4.cc: compilation failed
UNRESOLVED: selective5
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -fvtable-gc -fno-exceptions -fno-rtti -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/5.cc -o tmpdir/5.o
/tmp/ccc1I2rf.s: Assembler messages:
/tmp/ccc1I2rf.s:116: Error: internal error: can't export reloc type 525 (`BFD_RELOC_VTABLE_ENTRY')
/tmp/ccc1I2rf.s:166: Error: internal error: can't export reloc type 525 (`BFD_RELOC_VTABLE_ENTRY')
/tmp/ccc1I2rf.s:216: Error: internal error: can't export reloc type 524 (`BFD_RELOC_VTABLE_INHERIT')
/tmp/ccc1I2rf.s:241: Error: internal error: can't export reloc type 524 (`BFD_RELOC_VTABLE_INHERIT')
ERROR: /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/5.cc: compilation failed
UNRESOLVED: selective6
testcase /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/selective.exp completed in 4 seconds

<snip>

Running /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/srec.exp ...
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec -g -O2  -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c -o tmpdir/sr1.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec -g -O2  -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c -o tmpdir/sr2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/sr1  -Ttext 0x1000 tmpdir/sr1.o tmpdir/sr2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/sr2.sr  -Ttext 0x1000 --oformat srec tmpdir/sr1.o tmpdir/sr2.o
tmpdir/sr1.o(.text+0x24): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:19: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr1.o(.text+0x2c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:19: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr1.o(.text+0x34):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:19: relocation truncated to fit: R_SPARC_GOT13 ab
tmpdir/sr1.o(.text+0x3c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:19: relocation truncated to fit: R_SPARC_GOT13 .LLC0
tmpdir/sr1.o(.text+0x40):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:19: relocation truncated to fit: R_SPARC_GOT13 e1
tmpdir/sr1.o(.text+0x44):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:19: relocation truncated to fit: R_SPARC_GOT13 e2
tmpdir/sr1.o(.text+0x50):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:19: relocation truncated to fit: R_SPARC_GOT13 i
tmpdir/sr1.o(.text+0x5c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:19: relocation truncated to fit: R_SPARC_GOT13 j
tmpdir/sr1.o(.text+0x68):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:19: relocation truncated to fit: R_SPARC_GOT13 k
tmpdir/sr1.o(.text+0x70):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr1.c:19: relocation truncated to fit: R_SPARC_GOT13 l
tmpdir/sr2.o(.text+0x24): In function `fn1':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c:16: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr2.o(.text+0x2c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c:16: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr2.o(.text+0x30):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr2.c:17: relocation truncated to fit: R_SPARC_GOT13 e1
tmpdir/sr2.o(.text+0x44): In function `fn2':
: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr2.o(.text+0x4c): more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sr2.o(.text+0x50): In function `fn2':
: relocation truncated to fit: R_SPARC_GOT13 e2
FAIL: S-records
c++ -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2 -fgnu-linker -fno-exceptions -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec -g -O2  -fpic -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc -o tmpdir/sr3.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/sr1  -Ttext 0x1000 tmpdir/sr3.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/sr2.sr  -Ttext 0x1000 --oformat srec tmpdir/sr3.o
tmpdir/sr3.o(.text+0x24): In function `main':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:26: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0x2c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:26: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0x38):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:26: relocation truncated to fit: R_SPARC_GOT13 .LLC0
tmpdir/sr3.o(.text+0x184): In function `Foo::init_foo()':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:88: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0x18c):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:88: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0x194):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:88: relocation truncated to fit: R_SPARC_GOT13 Foo::foos
tmpdir/sr3.o(.text+0x1c4): In function `Foo::Foo()':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:93: undefined reference to `_GLOBAL_OFFSET_TABLE_'
tmpdir/sr3.o(.text+0x1cc):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:93: more undefined references to `_GLOBAL_OFFSET_TABLE_' follow
tmpdir/sr3.o(.text+0x1d0): In function `Foo::Foo()':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:93: relocation truncated to fit: R_SPARC_GOT13 Foo::foos
tmpdir/sr3.o(.text+0x210): In function `Foo::Foo()':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:93: relocation truncated to fit: R_SPARC_GOT13 Foo::foos
tmpdir/sr3.o(.text+0x250): In function `Foo::Foo(char*)':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:98: relocation truncated to fit: R_SPARC_GOT13 Foo::foos
tmpdir/sr3.o(.text+0x290): In function `Foo::Foo(char*)':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:98: relocation truncated to fit: R_SPARC_GOT13 Foo::foos
tmpdir/sr3.o(.text+0x2d8): In function `Foo::Foo(Foo const&)':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:105: relocation truncated to fit: R_SPARC_GOT13 Foo::foos
tmpdir/sr3.o(.text+0x338): In function `Foo::Foo(Foo const&)':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:105: relocation truncated to fit: R_SPARC_GOT13 Foo::foos
tmpdir/sr3.o(.text+0x3d0): In function `Foo::~Foo()':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:117: relocation truncated to fit: R_SPARC_GOT13 Foo::foos
tmpdir/sr3.o(.text+0x410): In function `Foo::~Foo()':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:117: relocation truncated to fit: R_SPARC_GOT13 Foo::foos
tmpdir/sr3.o(.text+0x494): In function `__static_initialization_and_destruction_0(int, int)':
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:20: relocation truncated to fit: R_SPARC_GOT13 static_foo
tmpdir/sr3.o(.text+0x4a8):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:20: relocation truncated to fit: R_SPARC_GOT13 static_foo
tmpdir/sr3.o(.text+0x4b8):/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-srec/sr3.cc:20: relocation truncated to fit: R_SPARC_GOT13 .LLC1
FAIL: S-records with constructors

<snip>

testcase /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-x86-64/x86-64.exp completed in 0 seconds

		=== ld Summary for unix/-fpic ===

# of expected passes		132
# of unexpected failures	10
# of expected failures		13
# of unresolved testcases	3
Running target unix

<snip>

gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_NORMAL_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_NORMAL_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1np.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_NORMAL_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainnp.o tmpdir/vnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vnp >tmpdir/vnp.out
child killed: segmentation violation
FAIL: visibility (hidden_normal) (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainnp.o tmpdir/vnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vnp >tmpdir/vnp.out
child killed: illegal instruction
FAIL: visibility (hidden_normal) (non PIC, load offset)

<snip>

gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_NORMAL_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vmpnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainp.o tmpdir/vmpnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vmpnp >tmpdir/vmpnp.out
child killed: segmentation violation
FAIL: visibility (hidden_normal) (PIC main, non PIC so)

<snip>

gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_WEAK_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_WEAK_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1np.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_WEAK_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainnp.o tmpdir/vnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vnp >tmpdir/vnp.out
child killed: segmentation violation
FAIL: visibility (hidden_weak) (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainnp.o tmpdir/vnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vnp >tmpdir/vnp.out
child killed: illegal instruction
FAIL: visibility (hidden_weak) (non PIC, load offset)

<snip>

gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DHIDDEN_WEAK_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vmpnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainp.o tmpdir/vmpnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vmpnp >tmpdir/vmpnp.out
child killed: segmentation violation
FAIL: visibility (hidden_weak) (PIC main, non PIC so)

<snip>

gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1np.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainnp.o tmpdir/vnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vnp >tmpdir/vnp.out
child killed: segmentation violation
FAIL: visibility (protected) (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainnp.o tmpdir/vnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vnp >tmpdir/vnp.out
child killed: illegal instruction
FAIL: visibility (protected) (non PIC, load offset)

<snip>

gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vmpnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainp.o tmpdir/vmpnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vmpnp >tmpdir/vmpnp.out
child killed: segmentation violation
FAIL: visibility (protected) (PIC main, non PIC so)

<snip>

gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_UNDEF_TEST -DDSO_DEFINE_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_UNDEF_TEST -DDSO_DEFINE_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1np.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_UNDEF_TEST -DDSO_DEFINE_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainnp.o tmpdir/vnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vnp >tmpdir/vnp.out
child killed: segmentation violation
FAIL: visibility (protected_undef_def) (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainnp.o tmpdir/vnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vnp >tmpdir/vnp.out
child killed: illegal instruction
FAIL: visibility (protected_undef_def) (non PIC, load offset)

<snip>

gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_UNDEF_TEST -DDSO_DEFINE_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vmpnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainp.o tmpdir/vmpnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vmpnp >tmpdir/vmpnp.out
child killed: segmentation violation
FAIL: visibility (protected_undef_def) (PIC main, non PIC so)

<snip>

gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_WEAK_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_WEAK_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1np.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_WEAK_TEST -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainnp.o tmpdir/vnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vnp >tmpdir/vnp.out
child killed: segmentation violation
FAIL: visibility (protected_weak) (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainnp.o tmpdir/vnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vnp >tmpdir/vnp.out
child killed: illegal instruction
FAIL: visibility (protected_weak) (non PIC, load offset)

<snip>

gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2  -DPROTECTED_WEAK_TEST -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vmpnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainp.o tmpdir/vmpnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vmpnp >tmpdir/vmpnp.out
child killed: segmentation violation
FAIL: visibility (protected_weak) (PIC main, non PIC so)

<snip>

gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2   -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2   -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh1.c -o tmpdir/sh1np.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2   -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainnp.o tmpdir/vnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vnp >tmpdir/vnp.out
child killed: segmentation violation
FAIL: visibility (normal) (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainnp.o tmpdir/vnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vnp >tmpdir/vnp.out
child killed: illegal instruction
FAIL: visibility (normal) (non PIC, load offset)

<snip>

gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -g -O2   -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-elfvsb/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/vmpnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/vmpnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainp.o tmpdir/vmpnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/vmpnp >tmpdir/vmpnp.out
child killed: segmentation violation
FAIL: visibility (normal) (PIC main, non PIC so)

<snip>

testcase /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/sel-dump.exp completed in 1 seconds
Running /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/selective.exp ...
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/1.c -o tmpdir/1.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/1.x --gc-sections -Bstatic  tmpdir/1.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/../binutils/nm-new  --demangle tmpdir/1.x >tmpdir/nm.out
selective1: dropme1 == 0x00000000001000e0
FAIL: selective1
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/2.c -o tmpdir/2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/2.x --gc-sections -Bstatic  tmpdir/2.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/../binutils/nm-new  --demangle tmpdir/2.x >tmpdir/nm.out
selective2: foo == 0x0000000000100100
FAIL: selective2

<snip>

gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -fvtable-gc -fno-exceptions -fno-rtti -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/3.cc -o tmpdir/3.o
/tmp/ccP9hNwd.s: Assembler messages:
/tmp/ccP9hNwd.s:111: Error: internal error: can't export reloc type 525 (`BFD_RELOC_VTABLE_ENTRY')
/tmp/ccP9hNwd.s:162: Error: internal error: can't export reloc type 524 (`BFD_RELOC_VTABLE_INHERIT')
/tmp/ccP9hNwd.s:187: Error: internal error: can't export reloc type 524 (`BFD_RELOC_VTABLE_INHERIT')
ERROR: /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/3.cc: compilation failed
UNRESOLVED: selective4
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -fvtable-gc -fno-exceptions -fno-rtti -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/4.cc -o tmpdir/4.o
/tmp/ccJLEnTG.s: Assembler messages:
/tmp/ccJLEnTG.s:111: Error: internal error: can't export reloc type 525 (`BFD_RELOC_VTABLE_ENTRY')
/tmp/ccJLEnTG.s:162: Error: internal error: can't export reloc type 524 (`BFD_RELOC_VTABLE_INHERIT')
/tmp/ccJLEnTG.s:187: Error: internal error: can't export reloc type 524 (`BFD_RELOC_VTABLE_INHERIT')
ERROR: /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/4.cc: compilation failed
UNRESOLVED: selective5
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -w -O -ffunction-sections -fdata-sections -fvtable-gc -fno-exceptions -fno-rtti -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/5.cc -o tmpdir/5.o
/tmp/ccnRq8db.s: Assembler messages:
/tmp/ccnRq8db.s:110: Error: internal error: can't export reloc type 525 (`BFD_RELOC_VTABLE_ENTRY')
/tmp/ccnRq8db.s:156: Error: internal error: can't export reloc type 525 (`BFD_RELOC_VTABLE_ENTRY')
/tmp/ccnRq8db.s:207: Error: internal error: can't export reloc type 524 (`BFD_RELOC_VTABLE_INHERIT')
/tmp/ccnRq8db.s:232: Error: internal error: can't export reloc type 524 (`BFD_RELOC_VTABLE_INHERIT')
ERROR: /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/5.cc: compilation failed
UNRESOLVED: selective6
testcase /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-selective/selective.exp completed in 4 seconds

<snip>

Running /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/shared.exp ...
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -fpic
gcc: no input files
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2  -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2  -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c -o tmpdir/sh1np.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2  -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh2.c -o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/shnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/shnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainnp.o tmpdir/shnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/shnp >tmpdir/shnp.out
child killed: segmentation violation
FAIL: shared (non PIC)
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/shnp.so -shared -T /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/elf-offset.ld tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/shnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainnp.o tmpdir/shnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/shnp >tmpdir/shnp.out
child killed: illegal instruction
FAIL: shared (non PIC, load offset)

<snip>

gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2  -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/main.c -o tmpdir/mainnp.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2  -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/sh1.c -o tmpdir/sh1p.o
gcc -L/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld -g -O2  -fpic -B/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/tmpdir/gas/ -I/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared -g -O2  -c /usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-shared/main.c -o tmpdir/mainp.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new  -o tmpdir/shmpnp.so -shared  tmpdir/sh1np.o tmpdir/sh2np.o
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m elf64_sparc  -o tmpdir/shmpnp -dynamic-linker /lib64/ld-linux.so.2 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtbegin.o -rpath tmpdir tmpdir/mainp.o tmpdir/shmpnp.so  -L/usr/lib/../lib64 /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a -lc /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/libgcc_eh.a /usr/local/gcc-binutils/lib/gcc-lib/sparc64-linux/3.2.2/crtend.o /usr/lib/../lib64/crtn.o
tmpdir/shmpnp >tmpdir/shmpnp.out
child killed: segmentation violation
FAIL: shared (PIC main, non PIC so)


<snip>


		=== ld Summary for unix ===

# of expected passes		119
# of unexpected failures	23
# of expected failures		13
# of unresolved testcases	3

		=== ld Summary ===

# of expected passes		468
# of unexpected failures	83
# of expected failures		51
# of unresolved testcases	9
/usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new 20021204

runtest completed at Wed Dec  4 08:00:26 2002


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]