aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-11-15 22:58:38 +0000
committerAlan Modra <amodra@gmail.com>2005-11-15 22:58:38 +0000
commit9eda1ce917a07a58baeddb7de787062c678b7776 (patch)
tree623028d1c1253ed288ecfc488743967850fd3634 /gas/read.c
parentce7a772b486a7c8e2c99d4b0e6b259e5937b63d0 (diff)
downloadgdb-9eda1ce917a07a58baeddb7de787062c678b7776.zip
gdb-9eda1ce917a07a58baeddb7de787062c678b7776.tar.gz
gdb-9eda1ce917a07a58baeddb7de787062c678b7776.tar.bz2
* read.c (s_comm_internal): Set bfd_com_section segment.
(s_mri_common): Likewise. * write.c (write_object_file): Remove non-BFD assembler common sym handling.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/read.c b/gas/read.c
index bf9346e..a398e52 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -1490,6 +1490,7 @@ s_comm_internal (int param,
{
S_SET_VALUE (symbolP, (valueT) size);
S_SET_EXTERNAL (symbolP);
+ S_SET_SEGMENT (symbolP, bfd_com_section_ptr);
#ifdef OBJ_VMS
{
extern int flag_one;
@@ -1583,6 +1584,7 @@ s_mri_common (int small ATTRIBUTE_UNUSED)
}
S_SET_EXTERNAL (sym);
+ S_SET_SEGMENT (sym, bfd_com_section_ptr);
mri_common_symbol = sym;
#ifdef S_SET_ALIGN