summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2003-02-16 21:09:42 +0000
committermickey <mickey@openbsd.org>2003-02-16 21:09:42 +0000
commit2bd4b44a4e11c749cb37f5124397dcc316ed1d5c (patch)
tree6764df4f353874803245bbe7ed1f4bcdb5e2b568
parentKNF (diff)
downloadwireguard-openbsd-2bd4b44a4e11c749cb37f5124397dcc316ed1d5c.tar.xz
wireguard-openbsd-2bd4b44a4e11c749cb37f5124397dcc316ed1d5c.zip
place ro data into .rodata and not .text (now that it's handled special. 10x to dale); espie@ ok
-rw-r--r--gnu/egcs/gcc/config/pa/openbsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/config/pa/openbsd.h b/gnu/egcs/gcc/config/pa/openbsd.h
index 9dfc1cbaebc..0b2c0059eef 100644
--- a/gnu/egcs/gcc/config/pa/openbsd.h
+++ b/gnu/egcs/gcc/config/pa/openbsd.h
@@ -146,7 +146,7 @@ do { \
#undef TEXT_SECTION_ASM_OP
#define TEXT_SECTION_ASM_OP "\t.text"
#undef READONLY_DATA_ASM_OP
-#define READONLY_DATA_ASM_OP "\t.text"
+#define READONLY_DATA_ASM_OP "\t.section\t.rodata"
#undef DATA_SECTION_ASM_OP
#define DATA_SECTION_ASM_OP "\t.data"
#undef BSS_SECTION_ASM_OP