more elfcomm failures / How is target_list supposed to work in the ld testsuite?

Joern Rennecke joern.rennecke@superh.com
Fri Apr 25 12:23:00 GMT 2003


Nick Clifton wrote:
> It looks like we need to add "-ml" and "-mb" to this proc.  Would ypu
> like to do that and check that it works for you ?

Yes, that's the ticket.  That fixes two size/aligment change of commom
symbols failures, selective[123] failures, and two S-records failures.

OK to check in?
	
-- 
--------------------------
SuperH (UK) Ltd.
2410 Aztec West / Almondsbury / BRISTOL / BS32 4QX
T:+44 1454 465658
-------------- next part --------------
2003-04-25  Nick Clifton <nickc@redhat.com>
            J"orn Rennecke <joern.rennecke@superh.com>

	* lib/ld-lib.exp (big_or_little_endian): Also check for -mb and -ml.

Index: testsuite/lib/ld-lib.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/lib/ld-lib.exp,v
retrieving revision 1.19
diff -p -r1.19 ld-lib.exp
*** testsuite/lib/ld-lib.exp	13 Feb 2003 22:14:11 -0000	1.19
--- testsuite/lib/ld-lib.exp	25 Apr 2003 12:15:49 -0000
*************** proc big_or_little_endian {} {
*** 94,104 ****
  
  	foreach x $tmp_flags {
  	    case $x in {
! 		{*big*endian eb EB -eb -EB} {
  		    set flags " -EB"
  		    return $flags
  		}
! 		{*little*endian el EL -el -EL} {
  		    set flags " -EL"
  		    return $flags
  		}
--- 94,104 ----
  
  	foreach x $tmp_flags {
  	    case $x in {
! 		{*big*endian eb EB -eb -EB -mb} {
  		    set flags " -EB"
  		    return $flags
  		}
! 		{*little*endian el EL -el -EL -ml} {
  		    set flags " -EL"
  		    return $flags
  		}


More information about the Binutils mailing list