summaryrefslogtreecommitdiff
path: root/gcc/config/bfin/elf.h
diff options
context:
space:
mode:
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-05 11:26:48 +0000
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-05 11:26:48 +0000
commit9e6a09670c3950ecdee85b34f7501049d5417d34 (patch)
tree0c1dfb753f5d1ba94f529adf00d67f3ba6f44cdb /gcc/config/bfin/elf.h
parent49a17d00eb70141b68497495803b62146fd3d7b9 (diff)
downloadgcc-9e6a09670c3950ecdee85b34f7501049d5417d34.tar.gz
* config/bfin/bfin-modes.def: New file.
* config/bfin/bfin-protos.h: New file. * config/bfin/bfin.c: New file. * config/bfin/bfin.h: New file. * config/bfin/bfin.md: New file. * config/bfin/bfin.opt: New file. * config/bfin/crti.s: New file. * config/bfin/crtn.s: New file. * config/bfin/elf.h: New file. * config/bfin/lib1funcs.asm: New file. * config/bfin/predicates.md: New file. * config/bfin/t-bfin: New file. * config/bfin/t-bfin-elf: New file. * doc/extend.texi (exception_handler, kspisusp, nesting, nmi_handler): Document new attributes. (interrupt, interrupt_handler, saveall): Update documentation for these attributes. * doc/install.texi (Specific): Add entry for the Blackfin. * doc/invoke.texi (Blackfin Options): New section. * doc/md.texi (Blackfin family): New section to document constraints. * config.gcc: Add bfin*-* and bfin*-elf configurations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97622 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/bfin/elf.h')
-rw-r--r--gcc/config/bfin/elf.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/config/bfin/elf.h b/gcc/config/bfin/elf.h
new file mode 100644
index 00000000000..643d5197a67
--- /dev/null
+++ b/gcc/config/bfin/elf.h
@@ -0,0 +1,16 @@
+#define OBJECT_FORMAT_ELF
+
+#define LOCAL_LABEL_PREFIX "L$"
+
+#undef ASM_GENERATE_INTERNAL_LABEL
+#define ASM_GENERATE_INTERNAL_LABEL(LABEL, PREFIX, NUM) \
+ sprintf (LABEL, "*%s%s$%d", LOCAL_LABEL_PREFIX, PREFIX, (int) NUM)
+
+#undef STARTFILE_SPEC
+#define STARTFILE_SPEC "crt0%O%s crti%O%s crtbegin%O%s"
+
+#undef ENDFILE_SPEC
+#define ENDFILE_SPEC "crtend%O%s crtn%O%s"
+
+#undef USER_LABEL_PREFIX
+#define USER_LABEL_PREFIX "_"