old-cross-binutils/ld/testsuite/ld-spu/ear.s
Alan Modra 8374f9d4b5 bfd/
* elf32-spu.c (spu_elf_special_sections): Add "._ea".
	(spu_elf_relocate_section): Handle relocations against symbols
	defined in ._ea specially.
binutils/
	* embedspu.sh: Take note of R_SPU_PPU32/64 relocs without a symbol,
	and if present, put image in ".data.speelf".  Put program handle
	in ".data.spehandle".
ld/emulparams/
	* elf32_spu.sh (OTHER_SECTIONS): Add "._ea".
	* elf32ppc.sh: If building with spu support, put ".data.spehandle"
	sections at the start of ".data" and provide a symbol to locate
	the directory of embedded spe programs.
ld/testsuite/
	* ld-spu/ear.s: Align various sections.
	* ld-spu/embed.rd: Update.
2008-05-07 14:46:44 +00:00

28 lines
367 B
ArmAsm

.text
.global _start
_start:
br _start
#test old-style toe _EAR_ syms
.section .toe,"a",@nobits
.p2align 4
_EAR_:
.space 16
_EAR_bar:
.space 16
#test new-style _EAR_ syms
.data
.p2align 4
_EAR_main:
.space 16
#new ones don't need to be 16 bytes apart
.space 16
_EAR_foo:
.space 16
.section .data.blah,"aw",@progbits
.p2align 4
_EAR_blah:
.space 16