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: more elfcomm failures / How is target_list supposed to work in the ld testsuite?


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
2003-04-25  Nick Clifton <nickc at redhat dot com>
            J"orn Rennecke <joern dot rennecke at superh dot 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
  		}

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