Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-09-18 11:38:13 +0400
committerNick Clifton <nickc@redhat.com>2013-09-18 11:38:13 +0400
commit796a9241b3d383297da92d59476476ebb3a83f15 (patch)
tree4c3e163508da96c65f1fdc5c852208dc5ac70f77 /libgloss/msp430/Makefile.in
parent37e1d79259b3eb25f1ae26a7495961b21684b532 (diff)
* msp430/Makefile.in (SCRIPTS): Add intr_vectors.ld.
(LIB_CRT): New. (CRT_OBJS): New. (all): Add dependency upon LIB_CRT. (install): Likewise. * msp430/msp430-sim.ld: Include intr_vectors.ld. KEEP crt code, lowtext code and tm_clone_table. Separate the noinit section from the .bss section. Allow for extended .debug_line sections. * msp430/msp430.ld: Likewise. * msp430/msp430F5438A-l.ld: Likewise. * msp430/msp430F5438A-s.ld: Likewise. * msp430/msp430xl-sim.ld: Likewise . * msp430/crt_movedata.S: New. * msp430/crt_bss.S: New. * msp430/intr_vectors.ld: New.
Diffstat (limited to 'libgloss/msp430/Makefile.in')
-rw-r--r--libgloss/msp430/Makefile.in18
1 files changed, 14 insertions, 4 deletions
diff --git a/libgloss/msp430/Makefile.in b/libgloss/msp430/Makefile.in
index 0282e3f32..ad5cfce38 100644
--- a/libgloss/msp430/Makefile.in
+++ b/libgloss/msp430/Makefile.in
@@ -60,6 +60,7 @@ SCRIPTS = $(srcdir)/msp430.ld $(srcdir)/msp430-sim.ld
SCRIPTS += $(srcdir)/msp430xl-sim.ld
SCRIPTS += $(srcdir)/msp430F5438A-s.ld
SCRIPTS += $(srcdir)/msp430F5438A-l.ld
+
CRT = gcrt0.o crt0.o crtn.o
SIM_BSP = libsim.a
LIBNOSYS = libnosys.a
@@ -74,6 +75,12 @@ NOSYS_OBJS = nosyscalls.o \
write.o \
sbrk.o
+SCRIPTS += $(srcdir)/intr_vectors.ld
+
+LIB_CRT = libcrt.a
+
+CRT_OBJS = crt_bss.o crt_movedata.o
+
#### Host specific Makefile fragment comes in here.
@host_makefile_frag@
@@ -82,17 +89,20 @@ NOSYS_OBJS = nosyscalls.o \
.S.o:
$(CC) -Wa,-gdwarf2 -Wa,-I$(srcdir) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c $<
-all: $(CRT) $(SIM_BSP) $(LIBNOSYS) copy_scripts_to_objdir
+all: $(CRT) $(SIM_BSP) $(LIBNOSYS) $(LIB_CRT) copy_scripts_to_objdir
$(SIM_BSP): $(SIM_OBJS)
$(AR) $(ARFLAGS) $@ $?
$(RANLIB) $@
-
$(LIBNOSYS): $(NOSYS_OBJS)
$(AR) $(ARFLAGS) $@ $?
$(RANLIB) $@
+$(LIB_CRT): $(CRT_OBJS)
+ $(AR) $(ARFLAGS) $@ $?
+ $(RANLIB) $@
+
copy_scripts_to_objdir: $(SCRIPTS)
cp $(SCRIPTS) $(objdir)
@@ -126,8 +136,8 @@ unlink.o : $(SDEPS)
utime.o : $(SDEPS)
write.o : $(SDEPS)
-install: $(CRT) $(SIM_BSP) $(LIBNOSYS) $(SCRIPTS)
- for c in $(CRT) $(SIM_BSP) $(LIBNOSYS); do \
+install: $(CRT) $(SIM_BSP) $(LIBNOSYS) $(LIB_CRT) $(SCRIPTS)
+ for c in $(CRT) $(SIM_BSP) $(LIBNOSYS) $(LIB_CRT); do \
$(INSTALL_DATA) $$c $(tooldir)/lib${MULTISUBDIR}/$$c ;\
done
for c in $(SCRIPTS); do \