This is the mail archive of the binutils@sourceware.org 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]

PATCH: Move ARM EABI attribute tests into EABI only section of arm-elf.exp


Hi Guys,

  I am applying the patch below to fix a few unexpected failures in
  the linker testsuite for arm-elf and xscale-elf toolchains.  The
  problem was that the EABI attribute tests were being run for these
  toolchains when they do not support the EABI.

Cheers
  Nick

ld/testsuite/ChangeLog
2007-07-24  Nick Clifton  <nickc@redhat.com>

	* ld-arm/arm-elf.exp: Move EABI attribute tests into EABI only
	section.

Index: arm-elf.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-arm/arm-elf.exp,v
retrieving revision 1.30
diff -c -3 -p -r1.30 arm-elf.exp
*** arm-elf.exp	6 Jul 2007 14:09:42 -0000	1.30
--- arm-elf.exp	24 Jul 2007 12:43:14 -0000
*************** set armelftests {
*** 170,181 ****
       {"jump19" "-static -T arm.ld" "" {jump19.s}
        {{objdump -dr jump19.d}}
        "jump19"}
-      {"EABI attribute merging" "-r" "" {attr-merge.s attr-merge.s}
-       {{readelf -A attr-merge.attr}}
-       "attr-merge"}
-      {"EABI attribute merging 2" "-r" "" {attr-merge-2a.s attr-merge-2b.s}
-       {{readelf -A attr-merge-2.attr}}
-       "attr-merge-2"}
       {"callweak" "-static -T arm.ld" "" {callweak.s}
        {{objdump -dr callweak.d}}
        "callweak"}
--- 170,175 ----
*************** if { ![istarget "arm*-*-*eabi"] } {
*** 197,205 ****
  }
  
  set armeabitests {
!     {"Thumb-2 BL" "-Ttext 0x1000 --section-start .foo=0x1001000" "" {thumb2-bl.s}
!      {{objdump -dr thumb2-bl.d}}
!      "thumb2-bl"}
  }
  
  run_ld_link_tests $armeabitests
--- 191,205 ----
  }
  
  set armeabitests {
!      {"EABI attribute merging" "-r" "" {attr-merge.s attr-merge.s}
!       {{readelf -A attr-merge.attr}}
!       "attr-merge"}
!      {"EABI attribute merging 2" "-r" "" {attr-merge-2a.s attr-merge-2b.s}
!       {{readelf -A attr-merge-2.attr}}
!       "attr-merge-2"}
!      {"Thumb-2 BL" "-Ttext 0x1000 --section-start .foo=0x1001000" "" {thumb2-bl.s}
!       {{objdump -dr thumb2-bl.d}}
!       "thumb2-bl"}
  }
  
  run_ld_link_tests $armeabitests


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