diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-11-15 22:30:47 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-11-15 22:30:47 +0000 |
commit | 781303cee5db333c5635d22bc1f7a0a996b7e0d5 (patch) | |
tree | 6fd813d1143496f6284fa88ddfe1b5c95ca91923 /ld | |
parent | c85f715a62b5282c19da485e133686f29675b801 (diff) | |
download | gdb-781303cee5db333c5635d22bc1f7a0a996b7e0d5.zip gdb-781303cee5db333c5635d22bc1f7a0a996b7e0d5.tar.gz gdb-781303cee5db333c5635d22bc1f7a0a996b7e0d5.tar.bz2 |
blackfin: add support for L1 code/data flags
Add new linker options for marking programs to load into L1 memory
at runtime. This needs new EF flag bits, so declare them.
Signed-off-by: Jie Zhang <jie.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 8 | ||||
-rw-r--r-- | ld/Makefile.am | 7 | ||||
-rw-r--r-- | ld/Makefile.in | 7 | ||||
-rwxr-xr-x | ld/emulparams/bfin.sh | 1 | ||||
-rw-r--r-- | ld/emulparams/elf32bfinfd.sh | 1 |
5 files changed, 18 insertions, 6 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 6af766e..7ece09f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +2010-11-16 Jie Zhang <jie.zhang@analog.com> + + * Makefile.am (eelf32bfinfd.c, eelf32bfin.c): Depend on bfin.em. + * Makefile.in: Regenerated. + * emulparams/bfin.sh (EXTRA_EM_FILE): Set. + * emulparams/elf32bfinfd.sh (EXTRA_EM_FILE): Likewise. + * emultempl/bfin.em: New. + 2010-11-16 Yasuaki Taniguchi <taniguchi.yasua@jp.fujitsu.com> * emultempl/pe.em (_list_options): Correct typo. diff --git a/ld/Makefile.am b/ld/Makefile.am index b4364be..d9e1bcc 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -791,11 +791,12 @@ edelta68.c: $(srcdir)/emulparams/delta68.sh \ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS} ${GENSCRIPTS} delta68 "$(tdir_delta68)" eelf32bfin.c: $(srcdir)/emulparams/bfin.sh \ - $(ELF_DEPS) \ + $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} elf32bfin "$(tdir_elf32bfin)" bfin -eelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh $(srcdir)/emulparams/bfin.sh \ - $(ELF_DEPS) \ +eelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh \ + $(srcdir)/emulparams/bfin.sh \ + $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} elf32bfinfd "$(tdir_elf32bfinfd)" elf32bfinfd eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \ diff --git a/ld/Makefile.in b/ld/Makefile.in index dac81b3..01511bc 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -2214,11 +2214,12 @@ edelta68.c: $(srcdir)/emulparams/delta68.sh \ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS} ${GENSCRIPTS} delta68 "$(tdir_delta68)" eelf32bfin.c: $(srcdir)/emulparams/bfin.sh \ - $(ELF_DEPS) \ + $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} elf32bfin "$(tdir_elf32bfin)" bfin -eelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh $(srcdir)/emulparams/bfin.sh \ - $(ELF_DEPS) \ +eelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh \ + $(srcdir)/emulparams/bfin.sh \ + $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} elf32bfinfd "$(tdir_elf32bfinfd)" elf32bfinfd eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \ diff --git a/ld/emulparams/bfin.sh b/ld/emulparams/bfin.sh index 3de8921..6c0bb40 100755 --- a/ld/emulparams/bfin.sh +++ b/ld/emulparams/bfin.sh @@ -9,3 +9,4 @@ TEMPLATE_NAME=elf32 GENERATE_SHLIB_SCRIPT=yes EMBEDDED=yes USER_LABEL_PREFIX=_ +EXTRA_EM_FILE=bfin diff --git a/ld/emulparams/elf32bfinfd.sh b/ld/emulparams/elf32bfinfd.sh index 3e0420e..26f8f47 100644 --- a/ld/emulparams/elf32bfinfd.sh +++ b/ld/emulparams/elf32bfinfd.sh @@ -43,3 +43,4 @@ OTHER_SECTIONS=" *(.l1.text) } " +EXTRA_EM_FILE=bfin |