Necessary ld-mmix testsuite updates for your elflink.c empty sections change are missing

H. J. Lu hjl@lucon.org
Fri Mar 18 20:24:00 GMT 2005


On Fri, Mar 18, 2005 at 11:10:29AM -0800, H. J. Lu wrote:
> On Thu, Mar 17, 2005 at 11:01:23AM -0500, Hans-Peter Nilsson wrote:
> > Same as for ld-cris; missing adjustments cause these failures:
> > Running /home/hp/combined/combined/ld/testsuite/ld-mmix/mmix.exp ...
> > FAIL: ld-mmix/bpo-1
> > FAIL: ld-mmix/bpo-10
> > FAIL: ld-mmix/bpo-11
> > FAIL: ld-mmix/bpo-14
> > FAIL: ld-mmix/bpo-16
> > FAIL: ld-mmix/bpo-17
> > FAIL: ld-mmix/bpo-18
> > FAIL: ld-mmix/bpo-19
> > FAIL: ld-mmix/bpo-2
> > FAIL: ld-mmix/bpo-3
> > FAIL: ld-mmix/bpo-4
> > FAIL: ld-mmix/bpo-5
> > FAIL: ld-mmix/bpo-6
> > FAIL: ld-mmix/bpo-9
> > FAIL: ld-mmix/bspec1
> > FAIL: ld-mmix/bspec2
> > FAIL: ld-mmix/greg-1
> > FAIL: ld-mmix/greg-19
> > FAIL: ld-mmix/greg-2
> > FAIL: ld-mmix/greg-3
> > FAIL: ld-mmix/greg-4
> > FAIL: ld-mmix/greg-5
> > FAIL: ld-mmix/greg-5s
> > FAIL: ld-mmix/greg-6
> > FAIL: ld-mmix/greg-7
> > FAIL: ld-mmix/loc1
> > FAIL: ld-mmix/loc2
> > FAIL: ld-mmix/loc3
> > FAIL: ld-mmix/loc4
> > FAIL: ld-mmix/loc6
> > FAIL: ld-mmix/local1
> > FAIL: ld-mmix/local12
> > FAIL: ld-mmix/local3
> > FAIL: ld-mmix/local5
> > FAIL: ld-mmix/local7
> > FAIL: ld-mmix/locdo-1
> > FAIL: ld-mmix/loct-1
> > FAIL: ld-mmix/locto-1
> > FAIL: ld-mmix/start-1
> > FAIL: ld-mmix/undef-3
> > 
> 
> The mmix-elf target doesn't work for me at all. I got failures like:
> 
> /export/build/linux/binutils-cross/build-mmix-elf/ld/../binutils/objdump
> -dht tmpdir/dump1 > tmpdir/dump.out
> regexp_diff match failure
> regexp "^       0:      e3fd0001        setl \$253,0x1$"
> line   "       0:       e3 fd 00 01     *unknown*"
> regexp_diff match failure
> regexp "^   10000:      e3fd0004        setl \$253,0x4$"
> line   "   10000:       e3 fd 00 04     *unknown*"

This only happens on 64bit host.

> 
> There are many failures in gas also.
> 

It looks like mmix-elf is pretty much broken, especially on 64bit
host. I don't know which failures are really caused by my empty
section removal. May I suggest you clean up mmix-elf for both 32 and 64
bit hosts before I work on empty section removal?


H.J.



More information about the Binutils mailing list