This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: more elfcomm failures / How is target_list supposed to work in the ld testsuite?
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sources dot redhat dot com, hjl at gnu dot org
- Date: Fri, 25 Apr 2003 13:21:52 +0100
- Subject: Re: more elfcomm failures / How is target_list supposed to work in the ld testsuite?
- Organization: SuperH UK Ltd.
- References: <3EA84E21.424C91D@superh.com> <m3u1cmrk83.fsf@localhost.localdomain>
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
}