summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/xcoff.h
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-10 12:39:20 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-10 12:39:20 +0000
commitd3e1259afc7354add875ebc2f94c8e4606edaf37 (patch)
treee9887fdd9c2b8170440e94b7745aff536c151ec0 /gcc/config/rs6000/xcoff.h
parent4774037d1eab6e923fe18c2a645855631960dbaa (diff)
downloadgcc-d3e1259afc7354add875ebc2f94c8e4606edaf37.tar.gz
* rs6000.c (rs6000_assemble_visibility): Protect declaration
inside macro. Correct function definition typo. (rs6000_xcoff_section_type_flags): New function. (TARGET_SECTION_TYPE_FLAGS): Remove definition. (rs6000_elf_section_type_flags): Call default_section_type_flags_1 with appropriate PIC test. (rs6000_xcoff_select_section): Use decl_readonly_section_1 to determine readonly. (rs6000_binds_local_p): Combine PIC flags. * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define. * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57005 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/xcoff.h')
-rw-r--r--gcc/config/rs6000/xcoff.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/gcc/config/rs6000/xcoff.h b/gcc/config/rs6000/xcoff.h
index d032b653728..dbe18ead29d 100644
--- a/gcc/config/rs6000/xcoff.h
+++ b/gcc/config/rs6000/xcoff.h
@@ -161,9 +161,14 @@ toc_section () \
|| (GET_MODE_CLASS (GET_MODE (X)) == MODE_FLOAT \
&& ! TARGET_NO_FP_IN_TOC)))))
+#define TARGET_ASM_GLOBALIZE_LABEL rs6000_xcoff_asm_globalize_label
+#define TARGET_ASM_NAMED_SECTION rs6000_xcoff_asm_named_section
+#define TARGET_ASM_SELECT_SECTION rs6000_xcoff_select_section
#define TARGET_ASM_SELECT_RTX_SECTION rs6000_xcoff_select_rtx_section
+#define TARGET_ASM_UNIQUE_SECTION rs6000_xcoff_unique_section
#define TARGET_ENCODE_SECTION_INFO rs6000_xcoff_encode_section_info
#define TARGET_STRIP_NAME_ENCODING rs6000_xcoff_strip_name_encoding
+#define TARGET_SECTION_TYPE_FLAGS rs6000_xcoff_section_type_flags
/* FP save and restore routines. */
#define SAVE_FP_PREFIX "._savef"
@@ -411,15 +416,6 @@ toc_section () \
Align entire section to BIGGEST_ALIGNMENT. */
#define DATA_SECTION_ASM_OP "\t.csect .data[RW],3"
-/* Define unique section name -- functions only. */
-#define TARGET_ASM_UNIQUE_SECTION rs6000_xcoff_unique_section
-
-/* Switch into a generic section. */
-#define TARGET_ASM_NAMED_SECTION rs6000_xcoff_asm_named_section
-
-/* Globalize a label. */
-#define TARGET_ASM_GLOBALIZE_LABEL rs6000_xcoff_asm_globalize_label
-
/* Define the name of the section to use for the EH language specific
data areas (.gcc_except_table on most other systems). */
#define TARGET_ASM_EXCEPTION_SECTION data_section