mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 12:03:41 +08:00
Add support for configuring for the ARM Phoenix target.
bfd * config.bfd: Add entry for arm-phoenix. gas * configuse.tgt: Add entry for arm-phoenix. ld * Makefile.am: Add earmelf_phoenix.c. * Makefile.in: Regenerate. * configure.tgt: Add entry for arm-phoenix. * emulparams/armelf_phoenix.sh: New file.
This commit is contained in:
parent
d0571b9934
commit
a2bea3245e
@ -1,3 +1,7 @@
|
||||
2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
|
||||
|
||||
* config.bfd: Add entry for arm-phoenix.
|
||||
|
||||
2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
||||
|
||||
* elf32-arm.c (arm_dedicated_stub_section_padding): New function.
|
||||
|
@ -349,6 +349,10 @@ case "${targ}" in
|
||||
targ_selvecs=arm_coff_be_vec
|
||||
targ_underscore=yes
|
||||
;;
|
||||
arm-*-phoenix*)
|
||||
targ_defvec=arm_elf32_le_vec
|
||||
targ_selvecs=arm_elf32_be_vec
|
||||
;;
|
||||
arm-*-rtems*)
|
||||
targ_defvec=arm_elf32_le_vec
|
||||
targ_selvecs=arm_elf32_be_vec
|
||||
|
@ -135,6 +135,7 @@ case ${generic_target} in
|
||||
|
||||
arm-*-aout) fmt=aout ;;
|
||||
arm-*-coff) fmt=coff ;;
|
||||
arm-*-phoenix*) fmt=elf ;;
|
||||
arm-*-rtems*) fmt=elf ;;
|
||||
arm-*-elf) fmt=elf ;;
|
||||
arm-*-eabi*) fmt=elf em=armeabi ;;
|
||||
|
@ -1,3 +1,10 @@
|
||||
2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
|
||||
|
||||
* Makefile.am: Add earmelf_phoenix.c.
|
||||
* Makefile.in: Regenerate.
|
||||
* configure.tgt: Add entry for arm-phoenix.
|
||||
* emulparams/armelf_phoenix.sh: New file.
|
||||
|
||||
2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
||||
|
||||
* emultempl/armelf.em (arm_elf_before_allocation): Call
|
||||
|
@ -179,6 +179,7 @@ ALL_EMULATION_SOURCES = \
|
||||
earmelf_linux_eabi.c \
|
||||
earmelf_nacl.c \
|
||||
earmelf_nbsd.c \
|
||||
earmelf_phoenix.c \
|
||||
earmelf_vxworks.c \
|
||||
earmelfb.c \
|
||||
earmelfb_fbsd.c \
|
||||
@ -777,6 +778,10 @@ earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
|
||||
$(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
|
||||
$(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
|
||||
earmelf_phoenix.c: $(srcdir)/emulparams/armelf_phoenix.sh \
|
||||
$(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
|
||||
$(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
|
||||
earmelf_vxworks.c: $(srcdir)/emulparams/armelf_vxworks.sh \
|
||||
$(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/armelf.sh \
|
||||
$(ELF_DEPS) $(srcdir)/emultempl/vxworks.em \
|
||||
|
@ -547,6 +547,7 @@ ALL_EMULATION_SOURCES = \
|
||||
earmelf_linux_eabi.c \
|
||||
earmelf_nacl.c \
|
||||
earmelf_nbsd.c \
|
||||
earmelf_phoenix.c \
|
||||
earmelf_vxworks.c \
|
||||
earmelfb.c \
|
||||
earmelfb_fbsd.c \
|
||||
@ -1183,6 +1184,7 @@ distclean-compile:
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_linux_eabi.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_nacl.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_nbsd.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_phoenix.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_vxworks.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelfb.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelfb_fbsd.Po@am__quote@
|
||||
@ -2364,6 +2366,10 @@ earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
|
||||
$(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
|
||||
$(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
|
||||
earmelf_phoenix.c: $(srcdir)/emulparams/armelf_phoenix.sh \
|
||||
$(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
|
||||
$(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
|
||||
earmelf_vxworks.c: $(srcdir)/emulparams/armelf_vxworks.sh \
|
||||
$(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/armelf.sh \
|
||||
$(ELF_DEPS) $(srcdir)/emultempl/vxworks.em \
|
||||
|
@ -103,6 +103,7 @@ arm-*-netbsd*) targ_emul=armnbsd;
|
||||
targ_extra_emuls="armelf armelf_nbsd armelfb_nbsd" ;;
|
||||
arm-*-nto*) targ_emul=armnto ;;
|
||||
arm-*-openbsd*) targ_emul=armnbsd ;;
|
||||
arm-*-phoenix*) targ_emul=armelf ;;
|
||||
arm-*-rtems*) targ_emul=armelf ;;
|
||||
armeb-*-elf | armeb-*-eabi*)
|
||||
targ_emul=armelfb ;;
|
||||
|
24
ld/emulparams/armelf_phoenix.sh
Normal file
24
ld/emulparams/armelf_phoenix.sh
Normal file
@ -0,0 +1,24 @@
|
||||
ARCH=arm
|
||||
SCRIPT_NAME=elf
|
||||
OUTPUT_FORMAT="elf32-littlearm"
|
||||
BIG_OUTPUT_FORMAT="elf32-bigarm"
|
||||
LITTLE_OUTPUT_FORMAT="elf32-littlearm"
|
||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
|
||||
TEMPLATE_NAME=elf32
|
||||
EXTRA_EM_FILE=armelf
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
||||
GENERATE_PIE_SCRIPT=yes
|
||||
|
||||
DATA_START_SYMBOLS='PROVIDE (__data_start = .);';
|
||||
OTHER_TEXT_SECTIONS='*(.glue_7t) *(.glue_7) *(.vfp11_veneer) *(.v4_bx)'
|
||||
OTHER_BSS_SYMBOLS='__bss_start__ = .;'
|
||||
OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ;'
|
||||
OTHER_END_SYMBOLS='__end__ = . ;'
|
||||
OTHER_SECTIONS='.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }'
|
||||
|
||||
TEXT_START_ADDR=0x00001000
|
||||
TARGET2_TYPE=got-rel
|
||||
|
||||
# ARM does not support .s* sections.
|
||||
NO_SMALL_DATA=yes
|
Loading…
Reference in New Issue
Block a user