From a9aefc1e9a9f455e44c04124b10c1ad21b26c3b7 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Fri, 11 Dec 1998 11:20:41 +0000 Subject: [PATCH] Put small uninitialized data in .sbss, not .sdata From-SVN: r24266 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/sysv4.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4c3bfe0466c..a3896efeb92 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +1998-12-11 Michael Meissner + + * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Put small data in the + .sbss section, not .sdata. + 1998-12-11 Manfred Hollstein * cccp.c: Do not #include here; this is already done diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 2b7e1ed4b48..7184555dbda 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -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); \