hpux.h (CTORS_SECTION_ASM_OP): New.
authorSteve Ellcey <sje@cup.hp.com>
Thu, 19 Sep 2002 15:52:10 +0000 (15:52 +0000)
committerSteve Ellcey <sje@gcc.gnu.org>
Thu, 19 Sep 2002 15:52:10 +0000 (15:52 +0000)
* config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
(DTORS_SECTION_ASM_OP): Ditto.
(READONLY_DATA_SECTION_ASM_OP): Moved.
(DATA_SECTION_ASM_OP): New.
(SDATA_SECTION_ASM_OP): New.
(BSS_SECTION_ASM_OP): New.
(SBSS_SECTION_ASM_OP): New.
(TEXT_SECTION_ASM_OP): New.

From-SVN: r57304

gcc/ChangeLog
gcc/config/ia64/hpux.h

index 7414b3c4a57fa05ccf353e58d4bdf41ff2c56fa2..e3e14f903ae4d37965d6f2647c7e092f6d3b6bb7 100644 (file)
@@ -1,3 +1,14 @@
+2002-09-19  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
+       (DTORS_SECTION_ASM_OP): Ditto.
+       (READONLY_DATA_SECTION_ASM_OP): Moved.
+       (DATA_SECTION_ASM_OP): New.
+       (SDATA_SECTION_ASM_OP): New.
+       (BSS_SECTION_ASM_OP): New.
+       (SBSS_SECTION_ASM_OP): New.
+       (TEXT_SECTION_ASM_OP): New.
+
 2002-09-19  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/fp-bit.c: Follow spelling conventions.
index 0b639d19a6030a3a81a58b799c47a05c4d0aa038..e83728fa98bef36494842f17023ec018c18eb86d 100644 (file)
@@ -88,10 +88,6 @@ do {                                                 \
 
 #define JMP_BUF_SIZE  (8 * 76)
 
-#undef READONLY_DATA_SECTION_ASM_OP
-#define READONLY_DATA_SECTION_ASM_OP \
-  "\t.section\t.rodata,\t\"a\",\t\"progbits\""
-
 #undef BITS_BIG_ENDIAN
 #define BITS_BIG_ENDIAN 1
 
@@ -138,3 +134,27 @@ do {                                                       \
 /* Put out the needed function declarations at the end.  */
 
 #define ASM_FILE_END(STREAM) ia64_hpux_asm_file_end(STREAM)
+
+#undef CTORS_SECTION_ASM_OP
+#define CTORS_SECTION_ASM_OP  "\t.section\t.init_array,\t\"aw\",\"init_array\""
+
+#undef DTORS_SECTION_ASM_OP
+#define DTORS_SECTION_ASM_OP  "\t.section\t.fini_array,\t\"aw\",\"fini_array\""
+
+#undef READONLY_DATA_SECTION_ASM_OP
+#define READONLY_DATA_SECTION_ASM_OP "\t.section\t.rodata,\t\"a\",\t\"progbits\""
+
+#undef DATA_SECTION_ASM_OP
+#define DATA_SECTION_ASM_OP "\t.section\t.data,\t\"aw\",\t\"progbits\""
+
+#undef SDATA_SECTION_ASM_OP
+#define SDATA_SECTION_ASM_OP "\t.section\t.sdata,\t\"asw\",\t\"progbits\""
+
+#undef BSS_SECTION_ASM_OP
+#define BSS_SECTION_ASM_OP "\t.section\t.bss,\t\"aw\",\t\"nobits\""
+
+#undef SBSS_SECTION_ASM_OP
+#define SBSS_SECTION_ASM_OP "\t.section\t.sbss,\t\"asw\",\t\"nobits\""
+
+#undef TEXT_SECTION_ASM_OP
+#define TEXT_SECTION_ASM_OP "\t.section\t.text,\t\"ax\",\t\"progbits\""