old-cross-binutils/ld/testsuite/ld-arc
Claudiu Zissulescu fa1c017017 [ARC] Fix/improve small data support.
The R_ARC_SDA32 is wrongly described as a ME relocation, fix it.  Offset the
__SDATA_BEGIN__ to take advantage of the signed 9-bit field of the
load/store instructions.

include/
2016-07-08  Claudiu Zissulescu  <claziss@synopsys.com>

	* elf/arc-reloc.def (ARC_SDA32): Don't use ME transformation.

ld/
2016-07-08  Claudiu Zissulescu  <claziss@synopsys.com>

	* emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
	* testsuite/ld-arc/sda-relocs.dd: New file.
	* testsuite/ld-arc/sda-relocs.ld: Likewise.
	* testsuite/ld-arc/sda-relocs.rd: Likewise.
	* testsuite/ld-arc/sda-relocs.s: Likewise.
	* testsuite/ld-arc/arc.exp: Add SDA tests.
2016-07-14 10:08:57 +02:00
..
arc.exp [ARC] Fix/improve small data support. 2016-07-14 10:08:57 +02:00
nps-1.s
nps-1a.d
nps-1b.d
nps-1b.err [ARC] Update test. 2016-07-11 15:41:23 +02:00
sda-relocs.dd [ARC] Fix/improve small data support. 2016-07-14 10:08:57 +02:00
sda-relocs.ld [ARC] Fix/improve small data support. 2016-07-14 10:08:57 +02:00
sda-relocs.rd [ARC] Fix/improve small data support. 2016-07-14 10:08:57 +02:00
sda-relocs.s [ARC] Fix/improve small data support. 2016-07-14 10:08:57 +02:00