summaryrefslogtreecommitdiff
path: root/gcc/config/i386/midipix.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2025-05-16 05:28:15 +0000
committermidipix <writeonce@midipix.org>2025-05-16 06:08:58 +0000
commit2f3e288e82f8a5f9f3825486b70e19761be6bdad (patch)
treefb25356f510ce08c998d5fa4620f8daeea3eea97 /gcc/config/i386/midipix.h
parent1ae38064a5cfaa3dfb7cb33d072604a07f203cd8 (diff)
downloadcbb-gcc-4.6.4-2f3e288e82f8a5f9f3825486b70e19761be6bdad.tar.bz2
cbb-gcc-4.6.4-2f3e288e82f8a5f9f3825486b70e19761be6bdad.tar.xz
midipix targets: utilize the framework-specific .symattr section to mark hidden symbols.
Diffstat (limited to 'gcc/config/i386/midipix.h')
-rw-r--r--gcc/config/i386/midipix.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/i386/midipix.h b/gcc/config/i386/midipix.h
index 73d5a3a62..dd23327ab 100644
--- a/gcc/config/i386/midipix.h
+++ b/gcc/config/i386/midipix.h
@@ -193,6 +193,9 @@
#undef GOTSYMS_SECTION_NAME
#define GOTSYMS_SECTION_NAME ".dsosyms"
+#undef SYMATTR_SECTION_NAME
+#define SYMATTR_SECTION_NAME ".symattr"
+
#undef GOTSTRS_SECTION_NAME
#define GOTSTRS_SECTION_NAME ".gotstrs"
@@ -202,6 +205,9 @@
#undef GOT_SECTION_ATTR
#define GOT_SECTION_ATTR ",\"r\""
+#undef SYMATTR_SECTION_ATTR
+#define SYMATTR_SECTION_ATTR ",\"r\""
+
#undef GAS_PE_ASM_SET_OP
#define GAS_PE_ASM_SET_OP "\t.set\t"