diff options
author | Michael Frysinger <vapier@gentoo.org> | 2010-11-15 22:30:47 +0000 |
---|---|---|
committer | Michael Frysinger <vapier@gentoo.org> | 2010-11-15 22:30:47 +0000 |
commit | fee22c5382a29f8ef905cd6b3487124aa9f23d8f (patch) | |
tree | a8e58dbf65626bf0ce53156b0d46dcc4b436933a | |
parent | 85065234218b93299ef8b05382036746f58112b3 (diff) | |
download | cygnal-fee22c5382a29f8ef905cd6b3487124aa9f23d8f.tar.gz cygnal-fee22c5382a29f8ef905cd6b3487124aa9f23d8f.tar.bz2 cygnal-fee22c5382a29f8ef905cd6b3487124aa9f23d8f.zip |
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>
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/elf/bfin.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index fb1f43253..56314cbf3 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2010-11-16 Jie Zhang <jie.zhang@analog.com> + + * elf/bfin.h (EF_BFIN_CODE_IN_L1): Define. + (EF_BFIN_DATA_IN_L1): Define. + 2010-11-04 Ian Lance Taylor <iant@google.com> * dwarf2.h (enum dwarf_source_language): Add DW_LANG_Go. diff --git a/include/elf/bfin.h b/include/elf/bfin.h index 851873f97..8d92906aa 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 */ |