ia64.c (ia64_rwreloc_section_type_flags): New.
authorRichard Henderson <rth@gcc.gnu.org>
Tue, 28 Jan 2003 22:08:24 +0000 (14:08 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 28 Jan 2003 22:08:24 +0000 (14:08 -0800)
        * config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New.
        * config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): New.

From-SVN: r62028

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

index 1aeddf8109b8fe0bd97f56aaca3338bf8d9b9cda..60de22da4e935ed16fa1c0a92f60e302e3e2c381 100644 (file)
@@ -1,3 +1,8 @@
+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.
@@ -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 3ebb7be77ddec0026136ced50db54ae6e5161020..be6b6a3618030db942009f7b0f3b7d585f3e27cb 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 f9fc8cadd5afa6d10c70a1abbf522a2209fe5014..2de837413f1dfe7ff9652e88ff052c71e6f62a55 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