public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 06/15] MIPS/GAS/test: Adjust LD for multi-target testing
@ 2010-10-03 19:40 Maciej W. Rozycki
  2010-10-10  9:45 ` Richard Sandiford
  0 siblings, 1 reply; 4+ messages in thread
From: Maciej W. Rozycki @ 2010-10-03 19:40 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1441 bytes --]

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 #2: Type: APPLICATION/X-BZIP2, Size: 2824 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-18 17:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-03 19:40 [PATCH 06/15] MIPS/GAS/test: Adjust LD for multi-target testing Maciej W. Rozycki
2010-10-10  9:45 ` Richard Sandiford
2010-10-18  1:39   ` Maciej W. Rozycki
2010-10-18 17:46     ` Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).