]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/config/sol2.h
re PR target/40483 (gcc 4.x needs to utilize better COMDAT mechanism under Solaris)
[gcc.git] / gcc / config / sol2.h
index 7e42ddb6a4be722dc7003869e25b41c4462df731..f3394fda74d72c738e9820b8d37b5249d7601052 100644 (file)
@@ -19,6 +19,9 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+/* We are compiling for Solaris 2 now.  */
+#define TARGET_SOLARIS 1
+
 /* We use stabs-in-elf for debugging, because that is what the native
    toolchain uses.  */
 #undef PREFERRED_DEBUGGING_TYPE
@@ -257,9 +260,8 @@ __enable_execute_stack (void *addr)                                 \
   { "init",      0, 0, true,  false,  false, NULL, false },            \
   { "fini",      0, 0, true,  false,  false, NULL, false }
 
-/* Solaris/x86 as and gas support the common ELF .section/.pushsection
-   syntax.  */
-#define PUSHSECTION_FORMAT     "\t.pushsection\t%s\n"
+/* Solaris/x86 as and gas support unquoted section names.  */
+#define SECTION_NAME_FORMAT    "%s"
 
 /* This is how to declare the size of a function.  For Solaris, we output
    any .init or .fini entries here.  */
This page took 0.028575 seconds and 5 git commands to generate.