From 781303cee5db333c5635d22bc1f7a0a996b7e0d5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 15 Nov 2010 22:30:47 +0000 Subject: 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 Signed-off-by: Mike Frysinger --- include/elf/bfin.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/elf') 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 */ -- cgit v1.1