summaryrefslogtreecommitdiff
path: root/gcc/config/bfin/t-bfin
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/t-bfin
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/t-bfin')
-rw-r--r--gcc/config/bfin/t-bfin29
1 files changed, 29 insertions, 0 deletions
diff --git a/gcc/config/bfin/t-bfin b/gcc/config/bfin/t-bfin
new file mode 100644
index 00000000000..662dc4c3e60
--- /dev/null
+++ b/gcc/config/bfin/t-bfin
@@ -0,0 +1,29 @@
+## Target part of the Makefile
+
+LIB1ASMSRC = bfin/lib1funcs.asm
+LIB1ASMFUNCS = _divsi3 _udivsi3 _umodsi3 _modsi3
+
+EXTRA_PARTS = crtbegin.o crtend.o crti.o crtn.o
+
+FPBIT = fp-bit.c
+DPBIT = dp-bit.c
+
+dp-bit.c: $(srcdir)/config/fp-bit.c
+ cat $(srcdir)/config/fp-bit.c > dp-bit.c
+
+fp-bit.c: $(srcdir)/config/fp-bit.c
+ echo '#define FLOAT' > fp-bit.c
+ cat $(srcdir)/config/fp-bit.c >> fp-bit.c
+
+# This shouldn't be needed here. I added it to the specs file for now, until
+# it is fixed in binutils (if it is necessary).
+GCC_CFLAGS += -N
+
+# Assemble startup files.
+$(T)crti.o: $(srcdir)/config/bfin/crti.s $(GCC_PASSES)
+ $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
+ -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/bfin/crti.s
+
+$(T)crtn.o: $(srcdir)/config/bfin/crtn.s $(GCC_PASSES)
+ $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
+ -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/bfin/crtn.s