aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-11-15 22:30:47 +0000
committerMike Frysinger <vapier@gentoo.org>2010-11-15 22:30:47 +0000
commit781303cee5db333c5635d22bc1f7a0a996b7e0d5 (patch)
tree6fd813d1143496f6284fa88ddfe1b5c95ca91923 /ld/emulparams
parentc85f715a62b5282c19da485e133686f29675b801 (diff)
downloadgdb-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/emulparams')
-rwxr-xr-xld/emulparams/bfin.sh1
-rw-r--r--ld/emulparams/elf32bfinfd.sh1
2 files changed, 2 insertions, 0 deletions
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