aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-01-24 19:17:03 +0000
committerKen Raeburn <raeburn@cygnus>1994-01-24 19:17:03 +0000
commit2ef7731dee7bfbe8a052f98bb0a2e0b00a3f0460 (patch)
tree33510e4bbc1ae01d50d6090209256f1702f9efda
parent1cedfe034eb580c808c1d580063843fabcb6d879 (diff)
downloadgdb-2ef7731dee7bfbe8a052f98bb0a2e0b00a3f0460.zip
gdb-2ef7731dee7bfbe8a052f98bb0a2e0b00a3f0460.tar.gz
gdb-2ef7731dee7bfbe8a052f98bb0a2e0b00a3f0460.tar.bz2
read.c (s_lcomm): Treat Alpha like MIPS in handling of .sbss section.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/read.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8aeeceb..b742a09 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jan 24 14:12:25 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
+
+ * read.c (s_lcomm): Treat Alpha like MIPS in handling of .sbss
+ section.
+
Thu Jan 20 13:17:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
* expr.c (operand): For floating point operand with unusual fp
diff --git a/gas/read.c b/gas/read.c
index 3f0a94f..e83edc9 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -1063,9 +1063,9 @@ s_lcomm (needs_align)
return;
}
-#ifdef TC_MIPS
+#if defined (TC_MIPS) || defined (TC_ALPHA)
#if defined (OBJ_ECOFF) || defined (OBJ_ELF)
- /* For MIPS ECOFF or ELF, small objects are put in .sbss. */
+ /* For MIPS and Alpha ECOFF or ELF, small objects are put in .sbss. */
if (temp <= bfd_get_gp_size (stdoutput))
{
bss_seg = subseg_new (".sbss", 1);