diff options
author | Tristan Gingold <gingold@adacore.com> | 2012-01-06 13:43:03 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@gcc.gnu.org> | 2012-01-06 13:43:03 +0000 |
commit | 1ab3568bd5359801a13c0623262879baece7136c (patch) | |
tree | f3493c773d7594b5042bbb6dc5318096c08b08e2 /libgcc/config/ia64 | |
parent | 5d81ddd07fd38a9f20ca9e53fbe1348fa408ec04 (diff) | |
download | gcc-1ab3568bd5359801a13c0623262879baece7136c.zip gcc-1ab3568bd5359801a13c0623262879baece7136c.tar.gz gcc-1ab3568bd5359801a13c0623262879baece7136c.tar.bz2 |
t-ia64 (LIB1ASMFUNCS): Move backward compatibility thunks...
2012-01-06 Tristan Gingold <gingold@adacore.com>
* config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
compatibility thunks...
(CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
(crtbeginS.o, crtendS.o): ... and these to ...
* config/ia64/t-ia64-elf: ... this new file.
* config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
(ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
From-SVN: r182952
Diffstat (limited to 'libgcc/config/ia64')
-rw-r--r-- | libgcc/config/ia64/t-ia64 | 20 | ||||
-rw-r--r-- | libgcc/config/ia64/t-ia64-elf | 20 |
2 files changed, 21 insertions, 19 deletions
diff --git a/libgcc/config/ia64/t-ia64 b/libgcc/config/ia64/t-ia64 index d1ec353..1776ddd 100644 --- a/libgcc/config/ia64/t-ia64 +++ b/libgcc/config/ia64/t-ia64 @@ -8,8 +8,7 @@ LIB1ASMSRC = ia64/lib1funcs.S LIB1ASMFUNCS = __divxf3 __divdf3 __divsf3 \ __divdi3 __moddi3 __udivdi3 __umoddi3 \ __divsi3 __modsi3 __udivsi3 __umodsi3 __save_stack_nonlocal \ - __nonlocal_goto __restore_stack_nonlocal __trampoline \ - _fixtfdi _fixunstfdi _floatditf + __nonlocal_goto __restore_stack_nonlocal __trampoline # ??? Hack to get -P option used when compiling lib1funcs.S, because Intel # assembler does not accept # line number as a comment. @@ -17,20 +16,3 @@ LIB1ASMFUNCS = __divxf3 __divdf3 __divsf3 \ # C++ part of libgcc2, hence it had to be disabled. Must find some other way # to support the Intel assembler. #LIBGCC2_DEBUG_CFLAGS = -g1 -P - -CUSTOM_CRTSTUFF = yes - -# Assemble startup files. -# FIXME: -I$(gcc_objdir) is necessary to find auto-host.h. Really? -crtbegin.o: $(srcdir)/config/ia64/crtbegin.S - $(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp $< -crtend.o: $(srcdir)/config/ia64/crtend.S - $(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp $< -crtbeginS.o: $(srcdir)/config/ia64/crtbegin.S - $(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp \ - -o $@ -DSHARED $< -crtendS.o: $(srcdir)/config/ia64/crtend.S - $(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp \ - -o $@ -DSHARED $< - -SHLIB_MAPFILES += $(srcdir)/config/ia64/libgcc-ia64.ver diff --git a/libgcc/config/ia64/t-ia64-elf b/libgcc/config/ia64/t-ia64-elf new file mode 100644 index 0000000..08784df --- /dev/null +++ b/libgcc/config/ia64/t-ia64-elf @@ -0,0 +1,20 @@ +LIB1ASMFUNCS += _fixtfdi _fixunstfdi _floatditf + +CUSTOM_CRTSTUFF = yes + +# Assemble startup files. +# FIXME: -I$(gcc_objdir) is necessary to find auto-host.h. Really? +crtbegin.o: $(srcdir)/config/ia64/crtbegin.S + $(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp \ + -o $@ $< +crtend.o: $(srcdir)/config/ia64/crtend.S + $(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp \ + -o $@ $< +crtbeginS.o: $(srcdir)/config/ia64/crtbegin.S + $(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp \ + -o $@ -DSHARED $< +crtendS.o: $(srcdir)/config/ia64/crtend.S + $(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp \ + -o $@ -DSHARED $< + +SHLIB_MAPFILES += $(srcdir)/config/ia64/libgcc-ia64.ver |