aboutsummaryrefslogtreecommitdiff
path: root/include/elf/bfin.h
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 /include/elf/bfin.h
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 'include/elf/bfin.h')
-rw-r--r--include/elf/bfin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/elf/bfin.h b/include/elf/bfin.h
index 851873f..8d92906 100644
--- a/include/elf/bfin.h
+++ b/include/elf/bfin.h
@@ -88,5 +88,8 @@ END_RELOC_NUMBERS (R_BFIN_max)
#define EF_BFIN_PIC 0x00000001 /* -fpic */
#define EF_BFIN_FDPIC 0x00000002 /* -mfdpic */
+#define EF_BFIN_CODE_IN_L1 0x00000010 /* --code-in-l1 */
+#define EF_BFIN_DATA_IN_L1 0x00000020 /* --data-in-l1 */
+
#define EF_BFIN_PIC_FLAGS (EF_BFIN_PIC | EF_BFIN_FDPIC)
#endif /* _ELF_BFIN_H */