* config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Jan 2003 22:08:24 +0000 (22:08 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Jan 2003 22:08:24 +0000 (22:08 +0000)
        * config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62028 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/ia64/hpux.h
gcc/config/ia64/ia64.c

index 1aeddf8..60de22d 100644 (file)
@@ -1,5 +1,10 @@
 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.
 
        * config/cris/cris.c (cris_address_cost): Make static.
@@ -25,9 +30,9 @@
 
 2003-01-28  Dale Johannesen  <dalej@apple.com>
 
-        * 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  <rth@redhat.com>
 
@@ -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>
 
-        * 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  <kkojima@gcc.gnu.org>
 
        * 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>
 
index 3ebb7be..be6b6a3 100644 (file)
@@ -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
index f9fc8ca..2de8374 100644 (file)
@@ -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