]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
s390.c (390_output_constant_pool): Set alignment before label in 64 bit mode, behind...
authorHartmut Penner <hpenner@de.ibm.com>
Wed, 27 Nov 2002 07:18:20 +0000 (07:18 +0000)
committerHartmut Penner <hpenner@gcc.gnu.org>
Wed, 27 Nov 2002 07:18:20 +0000 (07:18 +0000)
        * config/s390/s390.c (390_output_constant_pool): Set alignment
         before label in 64 bit mode, behind otherwise.

From-SVN: r59561

gcc/ChangeLog
gcc/config/s390/s390.c

index b14a24e5f84a12b2ad208296acfa8b767bd157d4..5764f8949a3abb11742964bc2a2e75d64d41ac35 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-26  Hartmut Penner  <hpenner@de.ibm.com>
+
+        * config/s390/s390.c (390_output_constant_pool): Set alignment 
+        before label in 64 bit mode, behind otherwise.  
+
 2002-11-26  Richard Henderson  <rth@redhat.com>
 
        * c-common.c (handle_visibility_attribute): Accept "default".
index 3332d0f5746aaa5f034da5639d0f1711af37e493..3f6ec452b1c24bb88b7deb809cc9038ec543d08a 100644 (file)
@@ -4061,11 +4061,20 @@ s390_output_constant_pool (start_label, end_label)
      rtx start_label;
      rtx end_label;
 {
-  if (TARGET_64BIT)
-    readonly_data_section ();
-  ASM_OUTPUT_ALIGN (asm_out_file, TARGET_64BIT ? 3 : 2);
+  if (TARGET_64BIT) 
+    {
+      readonly_data_section ();
+      ASM_OUTPUT_ALIGN (asm_out_file, 3);
+      ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, "L", 
+                                 CODE_LABEL_NUMBER (start_label));
+    } 
+  else 
+    {
+      ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, "L",
+                                 CODE_LABEL_NUMBER (start_label));
+      ASM_OUTPUT_ALIGN (asm_out_file, 2);      
+    }
 
-  ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, "L", CODE_LABEL_NUMBER (start_label));
   s390_pool_count = 0;
   output_constant_pool (current_function_name, current_function_decl);
   s390_pool_count = -1;