(s_mri_common): Likewise.
* write.c (write_object_file): Remove non-BFD assembler common
sym handling.
+2005-11-16 Alan Modra <amodra@bigpond.net.au>
+
+ * 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.
+
2005-11-15 Daniel Jacobowitz <dan@codesourcery.com>
* config/tc-arm.c (s_arm_unwind_save_core): Don't emit an extra
{
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;
}
S_SET_EXTERNAL (sym);
+ S_SET_SEGMENT (sym, bfd_com_section_ptr);
mri_common_symbol = sym;
#ifdef S_SET_ALIGN
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