aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-spu/ear.s
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-05-07 14:46:44 +0000
committerAlan Modra <amodra@gmail.com>2008-05-07 14:46:44 +0000
commit8374f9d4b51c7bb4464875756b1a4b4e9ce742f0 (patch)
tree9be50c50e3c11f9a155a9f243921b8d79bf67ae7 /ld/testsuite/ld-spu/ear.s
parent8c0848b5090141528fc24baa8f869252e63b8598 (diff)
downloadgdb-8374f9d4b51c7bb4464875756b1a4b4e9ce742f0.zip
gdb-8374f9d4b51c7bb4464875756b1a4b4e9ce742f0.tar.gz
gdb-8374f9d4b51c7bb4464875756b1a4b4e9ce742f0.tar.bz2
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.
Diffstat (limited to 'ld/testsuite/ld-spu/ear.s')
-rw-r--r--ld/testsuite/ld-spu/ear.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-spu/ear.s b/ld/testsuite/ld-spu/ear.s
index ba0be05..724a525 100644
--- a/ld/testsuite/ld-spu/ear.s
+++ b/ld/testsuite/ld-spu/ear.s
@@ -5,6 +5,7 @@ _start:
#test old-style toe _EAR_ syms
.section .toe,"a",@nobits
+ .p2align 4
_EAR_:
.space 16
_EAR_bar:
@@ -12,6 +13,7 @@ _EAR_bar:
#test new-style _EAR_ syms
.data
+ .p2align 4
_EAR_main:
.space 16
@@ -21,5 +23,6 @@ _EAR_foo:
.space 16
.section .data.blah,"aw",@progbits
+ .p2align 4
_EAR_blah:
.space 16