h8300.c (h8300_eightbit_data_p): Renamed from h8300_tiny_data_p.
authorJeff Law <law@gcc.gnu.org>
Tue, 7 May 1996 19:58:32 +0000 (13:58 -0600)
committerJeff Law <law@gcc.gnu.org>
Tue, 7 May 1996 19:58:32 +0000 (13:58 -0600)
        * h8300/h8300.c (h8300_eightbit_data_p): Renamed from
        h8300_tiny_data_p.
        (h8300_eightbit_data_p): Check for the "eightbit_data"
        attribute instead of "tiny_data".
        (h8300_valid_machine_decl_attribute): Likewise.
        * h8300/h8300.h (ENCODE_SECTION_INFO): Call h8300_eightbit_data_p
        instead of h8300_tiny_data_p.

From-SVN: r11953

gcc/config/h8300/h8300.c
gcc/config/h8300/h8300.h

index 60203d1..21748e9 100644 (file)
@@ -2192,7 +2192,7 @@ h8300_funcvec_function_p (func)
    data area.  */
 
 int
-h8300_tiny_data_p (decl)
+h8300_eightbit_data_p (decl)
      tree decl;
 {
   tree a;
@@ -2200,7 +2200,7 @@ h8300_tiny_data_p (decl)
   if (TREE_CODE (decl) != VAR_DECL)
     return 0;
 
-  a = lookup_attribute ("tiny_data", DECL_MACHINE_ATTRIBUTES (decl));
+  a = lookup_attribute ("eightbit_data", DECL_MACHINE_ATTRIBUTES (decl));
   return a != NULL_TREE;
 }
 
@@ -2230,7 +2230,7 @@ h8300_valid_machine_decl_attribute (decl, attributes, attr, args)
       || is_attribute_p ("function_vector", attr))
     return TREE_CODE (decl) == FUNCTION_DECL;
 
-  if (is_attribute_p ("tiny_data", attr)
+  if (is_attribute_p ("eightbit_data", attr)
       && (TREE_STATIC (decl) || DECL_EXTERNAL (decl)))
     {
       if (DECL_INITIAL (decl) == NULL_TREE)
index 6109a85..6bad73e 100644 (file)
@@ -1109,7 +1109,7 @@ readonly_data()                                           \
        && h8300_funcvec_function_p (DECL)) \
       || ((TREE_STATIC (DECL) || DECL_EXTERNAL (DECL)) \
          && TREE_CODE (DECL) == VAR_DECL \
-         && h8300_tiny_data_p (DECL))) \
+         && h8300_eightbit_data_p (DECL))) \
     SYMBOL_REF_FLAG (XEXP (DECL_RTL (DECL), 0)) = 1;
 
 /* How to refer to registers in assembler output.