From 1e1bd14eb2e457e969b82e4e14e7d4efdc4f3fc8 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 28 Jan 2003 14:08:24 -0800 Subject: [PATCH] ia64.c (ia64_rwreloc_section_type_flags): New. * config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New. * config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): New. From-SVN: r62028 --- gcc/ChangeLog | 17 +++++++++++------ gcc/config/ia64/hpux.h | 2 ++ gcc/config/ia64/ia64.c | 13 +++++++++++++ 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1aeddf8109b..60de22da4e9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-01-28 Richard Henderson + + * config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New. + * config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): New. + 2003-01-28 Richard Henderson * cse.c (find_best_addr): Kill !ADDRESS_COST code. @@ -25,9 +30,9 @@ 2003-01-28 Dale Johannesen - * emit-rtl.c (const_double_htab_hash): Use mode in the hash. - * loop.c (scan_loop): Move movables on -Os rich-register targets. - * config/rs6000/rs6000.md (sibcall*): Use match_operand for LR. + * emit-rtl.c (const_double_htab_hash): Use mode in the hash. + * loop.c (scan_loop): Move movables on -Os rich-register targets. + * config/rs6000/rs6000.md (sibcall*): Use match_operand for LR. 2003-01-28 Richard Henderson @@ -474,13 +479,13 @@ Tue Jan 28 12:15:13 CET 2003 Jan Hubicka 2003-01-25 Ulrich Weigand - * reload.c (maybe_memory_address_p): New function. - (find_reloads_address): Use it instead of memory_address_p. + * reload.c (maybe_memory_address_p): New function. + (find_reloads_address): Use it instead of memory_address_p. 2003-01-25 Kaz Kojima * final.c (shorten_branches): Align the address of code label - when computing initial lengths and addresses. + when computing initial lengths and addresses. 2003-01-25 Kazu Hirata diff --git a/gcc/config/ia64/hpux.h b/gcc/config/ia64/hpux.h index 3ebb7be77dd..be6b6a36180 100644 --- a/gcc/config/ia64/hpux.h +++ b/gcc/config/ia64/hpux.h @@ -176,3 +176,5 @@ do { \ #define TARGET_ASM_UNIQUE_SECTION ia64_rwreloc_unique_section #undef TARGET_ASM_SELECT_RTX_SECTION #define TARGET_ASM_SELECT_RTX_SECTION ia64_rwreloc_select_rtx_section +#undef TARGET_SECTION_TYPE_FLAGS +#define TARGET_SECTION_TYPE_FLAGS ia64_rwreloc_section_type_flags diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index f9fc8cadd5a..2de837413f1 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -216,6 +216,9 @@ static void ia64_rwreloc_unique_section PARAMS ((tree, int)) static void ia64_rwreloc_select_rtx_section PARAMS ((enum machine_mode, rtx, unsigned HOST_WIDE_INT)) ATTRIBUTE_UNUSED; +static unsigned int ia64_rwreloc_section_type_flags + PARAMS ((tree, const char *, int)) + ATTRIBUTE_UNUSED; static void ia64_hpux_add_extern_decl PARAMS ((const char *name)) ATTRIBUTE_UNUSED; @@ -8390,6 +8393,16 @@ ia64_rwreloc_select_rtx_section (mode, x, align) flag_pic = save_pic; } +static unsigned int +ia64_rwreloc_section_type_flags (decl, name, reloc) + tree decl; + const char *name; + int reloc; +{ + return default_section_type_flags_1 (decl, name, reloc, true); +} + + /* Output the assembler code for a thunk function. THUNK_DECL is the declaration for the thunk function itself, FUNCTION is the decl for the target function. DELTA is an immediate constant offset to be -- 2.30.2