mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-24 06:56:40 +00:00
1906cf93f8
You might just say: 'Yeah! crosstool-NG's got its own repo!". Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup. That means I'm putting backups in place in the afternoon. That also means we've lost history... :-(
29 lines
846 B
Diff
29 lines
846 B
Diff
2005-03-24 J"orn Rennecke <joern.rennecke@st.com>
|
|
|
|
Band aid for PR target/20617:
|
|
* config/sh/lib1funcs.asm (FUNC, ALIAS): Add .hidden directive.
|
|
|
|
--- g/gcc/config/sh/lib1funcs.asm
|
|
+++ g/gcc/config/sh/lib1funcs.asm
|
|
@@ -37,9 +37,19 @@ Boston, MA 02111-1307, USA. */
|
|
ELF local label prefixes by J"orn Rennecke
|
|
amylaar@cygnus.com */
|
|
|
|
+#define ALIAS(X,Y) .global GLOBAL(X); .set GLOBAL(X),GLOBAL(Y)
|
|
+
|
|
#ifdef __ELF__
|
|
#define LOCAL(X) .L_##X
|
|
-#define FUNC(X) .type X,@function
|
|
+
|
|
+#if 1 /* ??? The export list mechanism is broken, everything that is not
|
|
+ hidden is exported. */
|
|
+#undef FUNC
|
|
+#define FUNC(X) .type X,@function; .hidden X
|
|
+#undef ALIAS
|
|
+#define ALIAS(X,Y) .global GLOBAL(X); .set GLOBAL(X),GLOBAL(Y); .hidden GLOBAL(X)
|
|
+#endif
|
|
+
|
|
#define ENDFUNC0(X) .Lfe_##X: .size X,.Lfe_##X-X
|
|
#define ENDFUNC(X) ENDFUNC0(X)
|
|
#else
|