diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 8 | ||||
-rw-r--r-- | ld/Makefile.am | 5 | ||||
-rw-r--r-- | ld/Makefile.in | 5 | ||||
-rw-r--r-- | ld/NEWS | 2 | ||||
-rw-r--r-- | ld/configure.tgt | 1 | ||||
-rw-r--r-- | ld/emulparams/armnto.sh | 24 |
6 files changed, 45 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 5b530ad..e9189da 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +2002-07-30 Graeme Peterson <gp@qnx.com> + + * configure.tgt: Add support for arm-*-nto target. + * Makefile.am: Add earmnto.o file. + * Makefile.in: Regenerate. + * NEWS: Mention port of ARM support to QNX. + * emulparams/armnto.sh: New file. + 2002-07-30 Jakub Jelinek <jakub@redhat.com> * ldlang.c (lang_add_section): Don't turn .tbss into normal sections diff --git a/ld/Makefile.am b/ld/Makefile.am index fbdb946..00c7361 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -122,6 +122,7 @@ ALL_EMULATIONS = \ earmelf_nbsd.o \ earmelfb_nbsd.o \ earmelf_oabi.o \ + earmnto.o \ earmnbsd.o \ earmpe.o \ eavr1200.o \ @@ -428,6 +429,10 @@ earmcoff.c: $(srcdir)/emulparams/armcoff.sh \ earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)" +earmnto.c: $(srcdir)/emulparams/armnto.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ + $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} armnto "$(tdir_armnto)" earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \ $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS} ${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)" diff --git a/ld/Makefile.in b/ld/Makefile.in index 079d334..c6a4928 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -233,6 +233,7 @@ ALL_EMULATIONS = \ earmelf_nbsd.o \ earmelfb_nbsd.o \ earmelf_oabi.o \ + earmnto.o \ earmnbsd.o \ earmpe.o \ eavr1200.o \ @@ -1151,6 +1152,10 @@ earmcoff.c: $(srcdir)/emulparams/armcoff.sh \ earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)" +earmnto.c: $(srcdir)/emulparams/armnto.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ + $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} armnto "$(tdir_armnto)" earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \ $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS} ${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)" @@ -1,5 +1,7 @@ -*- text -*- +* ARM port to QNX operating system added by Graeme Peterson. + * IP2K support added by Denis Chertykov. Changes in 2.13: diff --git a/ld/configure.tgt b/ld/configure.tgt index f923346..0a24b11 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -229,6 +229,7 @@ arm-*-netbsdelf*) targ_emul=armelf_nbsd; targ_extra_emuls="armelfb_nbsd armelf armnbsd" ;; arm-*-netbsd*) targ_emul=armnbsd; targ_extra_emuls="armelf armelf_nbsd armelfb_nbsd" ;; +arm-**-nto*) targ_emul=armnto ;; arm-*-openbsd*) targ_emul=armnbsd ;; arm-*-rtems*) targ_emul=armelf ;; arm-*-elf) targ_emul=armelf ;; diff --git a/ld/emulparams/armnto.sh b/ld/emulparams/armnto.sh new file mode 100644 index 0000000..d000de3 --- /dev/null +++ b/ld/emulparams/armnto.sh @@ -0,0 +1,24 @@ +MACHINE= +SCRIPT_NAME=elf +OUTPUT_FORMAT="elf32-littlearm" +BIG_OUTPUT_FORMAT="elf32-bigarm" +LITTLE_OUTPUT_FORMAT="elf32-littlearm" +TEXT_START_ADDR=0x00100000 +TEMPLATE_NAME=elf32 +EXTRA_EM_FILE=armelf +OTHER_TEXT_SECTIONS='*(.glue_7t) *(.glue_7)' +OTHER_BSS_SYMBOLS='__bss_start__ = .;' +OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ; __end__ = . ;' + +DATA_START_SYMBOLS='__data_start = . ;'; + +GENERATE_SHLIB_SCRIPT=yes + +ARCH=arm +MACHINE= +MAXPAGESIZE=0x1000 + +ENTRY=_start + +# This sets the stack to the top of the simulator memory (2^19 bytes). +STACK_ADDR=0x80000 |