OSDN Git Service

Put small uninitialized data in .sbss, not .sdata
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Dec 1998 11:20:41 +0000 (11:20 +0000)
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Dec 1998 11:20:41 +0000 (11:20 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24266 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/sysv4.h

index 4c3bfe0..a3896ef 100644 (file)
@@ -1,3 +1,8 @@
+1998-12-11  Michael Meissner  <meissner@cygnus.com>
+
+       * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Put small data in the
+       .sbss section, not .sdata.
+
 1998-12-11  Manfred Hollstein  <manfred@s-direktnet.de>
 
        * cccp.c: Do not #include <sys/stat.h> here; this is already done
index 2b7e1ed..7184555 100644 (file)
@@ -710,7 +710,7 @@ do {                                                                        \
   if (rs6000_sdata != SDATA_NONE && (SIZE) > 0                         \
       && (SIZE) <= g_switch_value)                                     \
     {                                                                  \
-      sdata_section ();                                                        \
+      sbss_section ();                                                 \
       ASM_OUTPUT_ALIGN (FILE, exact_log2 (ALIGN / BITS_PER_UNIT));     \
       ASM_OUTPUT_LABEL (FILE, NAME);                                   \
       ASM_OUTPUT_SKIP (FILE, SIZE);                                    \