Skip to content

Instantly share code, notes, and snippets.

@7shi
Created March 29, 2010 07:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 7shi/347563 to your computer and use it in GitHub Desktop.
Save 7shi/347563 to your computer and use it in GitHub Desktop.
--- gcc/config/mips/mips.h.orig 2010-03-29 16:32:25.000000000 +0900
+++ gcc/config/mips/mips.h 2010-03-29 16:32:32.000000000 +0900
@@ -4237,6 +4237,12 @@
} \
\
HALF_PIC_DECLARE (NAME); \
+ if (TREE_PUBLIC (DECL)) \
+ { \
+ fprintf (STREAM, "\t.def\t"); \
+ assemble_name (STREAM, NAME); \
+ fprintf (STREAM, ";\t.scl\t%d;\t.type\t%d;\t.endef\n", 2, 32); \
+ } \
}
/* This is how to output an internal numbered label where
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment