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 06/15] MIPS/GAS/test: Adjust LD for multi-target testing


Hi,

 Here is a set of changes to make the LD test cases more suitable for 
multi-target testing; in particular for ELF and ECOFF targets that these 
cases are run for.  Apply some clean-ups too

 Here is a list of changes:

1. Section offsets and addends are spelled out explicitly so as to catch 
   any unexpected changes.

2. Consequently section alignment is requested at 4k so that offsets are 
   round and do not change for ECOFF when instructions are added or 
   removed (ECOFF seems to make data relocations relative to .text).

3. Missing "$" prefixes are added to the names of FP registers (shows how 
   frequently some of the targets are tested, hmm...).

4. Padding is added at the end of .text so that alignment does not matter.

5. Some minor inconsistencies are removed, e.g. the .text thing mentioned 
   previously, escapes added to "." characters that are meant to match 
   verbatim.

6. Probably something else; it's all in the patch. ;)

2010-10-03  Maciej W. Rozycki  <macro@linux-mips.org>

	gas/testsuite/
	* gas/mips/ld.d: Spell out section offsets and addends
	explicitly.  Clean up some regexps.
	* gas/mips/ld-ilocks.d: Likewise.  Add missing "$" prefixes to
	the names of FP registers.
	* gas/mips/ld-ilocks-addr32.d: Likewise.
	* gas/mips/ld.s: Align sections to 4k, adjust padding.

 OK to apply?

  Maciej

binutils-2.20.51-20100925-mips-gas-test-ld-misc.patch
[Patch attached compressed due to its size.]

Attachment: binutils-2.20.51-20100925-mips-gas-test-ld-misc.patch.bz2
Description: BZip2 compressed data


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