summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/xcoff.h
diff options
context:
space:
mode:
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-30 16:51:23 +0000
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-30 16:51:23 +0000
commit31c5440141e0700b9acf71f49f87c3ead2aefa25 (patch)
tree203e3ac0006800453190507b96d49fa687a15207 /gcc/config/rs6000/xcoff.h
parentb1d3f307aef63da15185e6944d47070b9c4f405b (diff)
downloadgcc-31c5440141e0700b9acf71f49f87c3ead2aefa25.tar.gz
2003-04-30 Janis Johnson <janis187@us.ibm.com>
* config/rs6000/linux64.h (ASM_OUTPUT_LABELREF): Remove. * config/rs6000/rs6000.c (rs6000_elf_strip_name_encoding): Remove. (rs6000_xcoff_encode_section_info): Remove. (current_file_function_operand): Use SYMBOL_REF_FLAGS; fix latent bug. (rs6000_output_mi_thunk): Remove dead code; use SYMBOL_REF_FLAGS. (small_data_operand, rs6000_emit_move, rs6000_elf_in_small_data_p,): Use SYMBOL_REF_FLAGS. (rs6000_elf_encode_section_info): Call default_encode_section_info for generic flags, use SYMBOL_REF_FLAGS; code cleanups. * sysv4.h (TARGET_STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Remove. (SYMBOL_FLAG_SMALL_V4, SYMBOL_REF_SMALL_V4_P): New. * xcoff.h (TARGET_ENCODE_SECTION_INFO): Remove. (ASM_DECLARE_FUNCTION_NAME): Remove setting of SYMBOL_REF_FLAG. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66297 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/xcoff.h')
-rw-r--r--gcc/config/rs6000/xcoff.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/config/rs6000/xcoff.h b/gcc/config/rs6000/xcoff.h
index 56dce7ea21d..fe65ea93c21 100644
--- a/gcc/config/rs6000/xcoff.h
+++ b/gcc/config/rs6000/xcoff.h
@@ -163,7 +163,6 @@ toc_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
@@ -255,16 +254,11 @@ toc_section () \
`text_section' call previously done. We do have to go back to that
csect, however.
- We also record that the function exists in the current compilation
- unit, reachable by short branch, by setting SYMBOL_REF_FLAG.
-
The third and fourth parameters to the .function pseudo-op (16 and 044)
are placeholders which no longer have any use. */
#define ASM_DECLARE_FUNCTION_NAME(FILE,NAME,DECL) \
{ rtx sym_ref = XEXP (DECL_RTL (DECL), 0); \
- if ((*targetm.binds_local_p) (DECL)) \
- SYMBOL_REF_FLAG (sym_ref) = 1; \
if (TREE_PUBLIC (DECL)) \
{ \
if (!RS6000_WEAK || !DECL_WEAK (decl)) \