With HEAD binutils checked out as of Wed, 27 Dec 2006 06:05:09 UTC, I get this failure for "make check-binutils" for --target=mips-elf: Running /mnt/test1/hp/axis/binutils/src/binutils/testsuite/binutils-all/objcopy.exp ... Version /mnt/test1/hp/axis/binutils/mips/binutils/objcopy 20061227 FAIL: --localize-hidden test 1 with the .log file containing: /mnt/test1/hp/axis/binutils/mips/binutils/objdump --syms tmpdir/copy.o > tmpdir/dump.out extra regexps in /mnt/test1/hp/axis/binutils/src/binutils/testsuite/binutils-all/localize-hidden-1.d starting with "^0+2200 l .*\\ *ABS\* 0+ \.hidden Ghidden$" EOF from tmpdir/dump.out FAIL: --localize-hidden test 1
With the test change proposed here <http://sourceware.org/ml/binutils/2009-03/msg00006.html>, I see a similar fail on hppa64-hp-hpux11.11 and hppa-unknown-linux-gnu. tmpdir/copy.o: file format elf32-hppa-linux SYMBOL TABLE: 00000000 l d .text 00000000 .text 00000000 l d .data 00000000 .data 00000000 l d .bss 00000000 .bss 00002200 l *ABS* 00000000 .hidden Ghidden 00002300 l *ABS* 00000000 .internal Ginternal 00002100 g *ABS* 00000000 Gdefault 00002400 g *ABS* 00000000 .protected Gprotected extra regexps in /home/dave/gnu/binutils/src/binutils/testsuite/binutils-all/loc alize-hidden-1.d starting with "^0+1200 l .*\*ABS\* 0+ \.hidden Lhidden$" EOF from tmpdir/dump.outFAIL: --localize-hidden test 1
That'll be tc-hppa.h:tc_frob_symbol throwing away local symbols.
Apaprently fixed for MIPS as of at least CVS HEAD of 2012-03-01 (post-2.22), unknown whether fixed in any release.
(In reply to comment #3) > Apaprently fixed for MIPS as of at least CVS HEAD of 2012-03-01 (post-2.22), > unknown whether fixed in any release. Oops, sorry, it's just xfailed. Reopening.
CVSROOT: /cvs/src Module name: src Changes by: hp@sourceware.org 2012-03-13 00:41:22 Modified files: binutils/testsuite: ChangeLog binutils/testsuite/binutils-all: objcopy.exp Log message: PR binutils/3807 * binutils-all/objcopy.exp (localize-hidden-1): Correct xfailed mips-targets. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/testsuite/ChangeLog.diff?cvsroot=src&r1=1.254&r2=1.255 http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/testsuite/binutils-all/objcopy.exp.diff?cvsroot=src&r1=1.76&r2=1.77
And now with more correct xfails. Not closing it, though; IMHO the underlying issue is fixable, see the URL.
Closing. Yes, irix compatibility means mips object files violate the ELF standard. This isn't the place to agitate for a change in the default ABI for mips-elf and similar targets.