aboutsummaryrefslogtreecommitdiff
path: root/gas/write.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/write.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/write.c')
-rw-r--r--gas/write.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gas/write.c b/gas/write.c
index 0613367..f86930b 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -1493,12 +1493,6 @@ write_object_file (void)
continue;
}
- /* So far, common symbols have been treated like undefined symbols.
- Put them in the common section now. */
- if (S_IS_DEFINED (symp) == 0
- && S_GET_VALUE (symp) != 0)
- S_SET_SEGMENT (symp, bfd_com_section_ptr);
-
#ifdef obj_frob_symbol
obj_frob_symbol (symp, punt);
#endif