This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Committed: versioned libgcc symbols for CRIS-specific symbols


Another item I should've done a really long time ago.  I intend
to start an autotester targeting a developer board to avoid
missing out on stuff you can't test in a static-only simulator.
(The src/sim/cris simulator has since grown the ability to
execute dynamically linked programs, but that's beside the
point.)  The version (which has no semantic meaning AFAIK) is
set to 4.3 partly because I intend to back-port this to the 4.3
branch.


Index: config/cris/t-linux
===================================================================
--- config/cris/t-linux	(revision 145035)
+++ config/cris/t-linux	(working copy)
@@ -1,5 +1,6 @@
 TARGET_LIBGCC2_CFLAGS += -fPIC
 CRTSTUFF_T_CFLAGS_S = $(TARGET_LIBGCC2_CFLAGS)
+SHLIB_MAPFILES += $(srcdir)/config/cris/libgcc.ver
 
 # We *know* we have a limits.h in the glibc library, with extra
 # definitions needed for e.g. libgfortran.
Index: config/cris/libgcc.ver
===================================================================
--- config/cris/libgcc.ver	(revision 0)
+++ config/cris/libgcc.ver	(revision 0)
@@ -0,0 +1,7 @@
+GCC_4.3 {
+ __Mul
+ __Div
+ __Udiv
+ __Mod
+ __Umod
+}

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]