Commit 1e1bd14e by Richard Henderson

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
parent 4ce1921a
2003-01-28 Richard Henderson <rth@redhat.com> 2003-01-28 Richard Henderson <rth@redhat.com>
* config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New.
* config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): New.
2003-01-28 Richard Henderson <rth@redhat.com>
* cse.c (find_best_addr): Kill !ADDRESS_COST code. * cse.c (find_best_addr): Kill !ADDRESS_COST code.
* config/cris/cris.c (cris_address_cost): Make static. * config/cris/cris.c (cris_address_cost): Make static.
...@@ -25,9 +30,9 @@ ...@@ -25,9 +30,9 @@
2003-01-28 Dale Johannesen <dalej@apple.com> 2003-01-28 Dale Johannesen <dalej@apple.com>
* emit-rtl.c (const_double_htab_hash): Use mode in the hash. * emit-rtl.c (const_double_htab_hash): Use mode in the hash.
* loop.c (scan_loop): Move movables on -Os rich-register targets. * loop.c (scan_loop): Move movables on -Os rich-register targets.
* config/rs6000/rs6000.md (sibcall*): Use match_operand for LR. * config/rs6000/rs6000.md (sibcall*): Use match_operand for LR.
2003-01-28 Richard Henderson <rth@redhat.com> 2003-01-28 Richard Henderson <rth@redhat.com>
...@@ -474,13 +479,13 @@ Tue Jan 28 12:15:13 CET 2003 Jan Hubicka <jh@suse.cz> ...@@ -474,13 +479,13 @@ Tue Jan 28 12:15:13 CET 2003 Jan Hubicka <jh@suse.cz>
2003-01-25 Ulrich Weigand <uweigand@de.ibm.com> 2003-01-25 Ulrich Weigand <uweigand@de.ibm.com>
* reload.c (maybe_memory_address_p): New function. * reload.c (maybe_memory_address_p): New function.
(find_reloads_address): Use it instead of memory_address_p. (find_reloads_address): Use it instead of memory_address_p.
2003-01-25 Kaz Kojima <kkojima@gcc.gnu.org> 2003-01-25 Kaz Kojima <kkojima@gcc.gnu.org>
* final.c (shorten_branches): Align the address of code label * 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 <kazu@cs.umass.edu> 2003-01-25 Kazu Hirata <kazu@cs.umass.edu>
......
...@@ -176,3 +176,5 @@ do { \ ...@@ -176,3 +176,5 @@ do { \
#define TARGET_ASM_UNIQUE_SECTION ia64_rwreloc_unique_section #define TARGET_ASM_UNIQUE_SECTION ia64_rwreloc_unique_section
#undef TARGET_ASM_SELECT_RTX_SECTION #undef TARGET_ASM_SELECT_RTX_SECTION
#define TARGET_ASM_SELECT_RTX_SECTION ia64_rwreloc_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
...@@ -216,6 +216,9 @@ static void ia64_rwreloc_unique_section PARAMS ((tree, int)) ...@@ -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, static void ia64_rwreloc_select_rtx_section PARAMS ((enum machine_mode, rtx,
unsigned HOST_WIDE_INT)) unsigned HOST_WIDE_INT))
ATTRIBUTE_UNUSED; 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)) static void ia64_hpux_add_extern_decl PARAMS ((const char *name))
ATTRIBUTE_UNUSED; ATTRIBUTE_UNUSED;
...@@ -8390,6 +8393,16 @@ ia64_rwreloc_select_rtx_section (mode, x, align) ...@@ -8390,6 +8393,16 @@ ia64_rwreloc_select_rtx_section (mode, x, align)
flag_pic = save_pic; 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 /* Output the assembler code for a thunk function. THUNK_DECL is the
declaration for the thunk function itself, FUNCTION is the decl for declaration for the thunk function itself, FUNCTION is the decl for
the target function. DELTA is an immediate constant offset to be the target function. DELTA is an immediate constant offset to be
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment