From efe8ef02b2d6fbca0697d9ec34266884f2a3a680 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 2 Nov 1993 23:15:58 +0000 Subject: [PATCH] * read.c (s_lcomm): Put small objects in .sbss for MIPS ELF as well as MIPS ECOFF. (get_stab_string_offset): Remove unused variable aligned. --- gas/ChangeLog | 6 ++++++ gas/read.c | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 52af6394218..bdd147f0792 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +Tue Nov 2 18:04:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * read.c (s_lcomm): Put small objects in .sbss for MIPS ELF as + well as MIPS ECOFF. + (get_stab_string_offset): Remove unused variable aligned. + Tue Nov 2 15:07:07 1993 Jeffrey A. Law (law@snake.cs.utah.edu) * config/ho-hppaosf.h: Delete _IO* macros. They are defined in diff --git a/gas/read.c b/gas/read.c index 8a9430b8bb5..f9979dec602 100644 --- a/gas/read.c +++ b/gas/read.c @@ -1082,8 +1082,8 @@ s_lcomm (needs_align) } #ifdef TC_MIPS -#ifdef OBJ_ECOFF - /* For MIPS ECOFF, small objects are put in .sbss. */ +#if defined (OBJ_ECOFF) || defined (OBJ_ELF) + /* For MIPS ECOFF or ELF, small objects are put in .sbss. */ if (temp <= bfd_get_gp_size (stdoutput)) bss_seg = subseg_new (".sbss", 1); #endif @@ -2653,7 +2653,6 @@ get_stab_string_offset (string, stabstr_secname) subsegT save_subseg; char *newsecname; segT seg; - int aligned; char *p; save_seg = now_seg; -- 2.30.2