aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Ellcey <sje@cup.hp.com>2002-09-19 15:52:10 +0000
committerSteve Ellcey <sje@gcc.gnu.org>2002-09-19 15:52:10 +0000
commitb64ddb88fe0f4211125d8afa2d7348d6a9c242cf (patch)
tree2a869c772a4f01c71a6b55f0a8a7c964e3e912c6
parent9cd10576c58786afe2ec3a9193f85f61de760068 (diff)
downloadgcc-b64ddb88fe0f4211125d8afa2d7348d6a9c242cf.zip
gcc-b64ddb88fe0f4211125d8afa2d7348d6a9c242cf.tar.gz
gcc-b64ddb88fe0f4211125d8afa2d7348d6a9c242cf.tar.bz2
hpux.h (CTORS_SECTION_ASM_OP): New.
* 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
-rw-r--r--gcc/ChangeLog11
-rw-r--r--gcc/config/ia64/hpux.h28
2 files changed, 35 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7414b3c..e3e14f9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/ia64/hpux.h b/gcc/config/ia64/hpux.h
index 0b639d1..e83728f 100644
--- a/gcc/config/ia64/hpux.h
+++ b/gcc/config/ia64/hpux.h
@@ -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\""