aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-bfin.c
diff options
context:
space:
mode:
authorJie Zhang <jie.zhang@analog.com>2008-07-15 13:09:47 +0000
committerJie Zhang <jie.zhang@analog.com>2008-07-15 13:09:47 +0000
commitb0a0b9787e4bb82a555a54077f5df26a96e105a7 (patch)
treeb7d18592be65400d84121f00a203affeba443a28 /bfd/elf32-bfin.c
parent4098af0f821e6de7251497a6f0a3ce39f24095da (diff)
downloadgdb-b0a0b9787e4bb82a555a54077f5df26a96e105a7.zip
gdb-b0a0b9787e4bb82a555a54077f5df26a96e105a7.tar.gz
gdb-b0a0b9787e4bb82a555a54077f5df26a96e105a7.tar.bz2
bfd/
* elf32-bfin.c (elf32_bfin_special_sections[]): New. (elf_backend_special_sections): Define. ld/ * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
Diffstat (limited to 'bfd/elf32-bfin.c')
-rw-r--r--bfd/elf32-bfin.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c
index f83abd2..b899b6e 100644
--- a/bfd/elf32-bfin.c
+++ b/bfd/elf32-bfin.c
@@ -5572,6 +5572,14 @@ error_return:
free (internal_relocs);
return FALSE;
}
+
+struct bfd_elf_special_section const elf32_bfin_special_sections[] =
+{
+ { ".l1.text", 8, -2, SHT_PROGBITS, SHF_ALLOC + SHF_EXECINSTR },
+ { ".l1.data", 8, -2, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
+ { NULL, 0, 0, 0, 0 }
+};
+
#define TARGET_LITTLE_SYM bfd_elf32_bfin_vec
#define TARGET_LITTLE_NAME "elf32-bfin"
@@ -5620,6 +5628,7 @@ error_return:
elf32_bfin_print_private_bfd_data
#define elf_backend_reloc_type_class elf32_bfin_reloc_type_class
#define elf_backend_can_gc_sections 1
+#define elf_backend_special_sections elf32_bfin_special_sections
#define elf_backend_can_refcount 1
#define elf_backend_want_got_plt 0
#define elf_backend_plt_readonly 1