* read.c (s_lcomm): Set section flags for .sbss section.
This commit is contained in:
parent
0017655509
commit
b95bee134d
2 changed files with 18 additions and 0 deletions
|
@ -1,3 +1,16 @@
|
||||||
|
Thu May 30 19:00:19 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* read.c (s_lcomm): Set section flags for .sbss section.
|
||||||
|
|
||||||
|
* config/tc-mips.c (mips_64): New static variable.
|
||||||
|
(mips_target_format): If mips_64, return elf64 targets rather than
|
||||||
|
elf32 ones.
|
||||||
|
(md_longopts): Add "32" and "64".
|
||||||
|
(md_parse_option): Handle -32 and -64.
|
||||||
|
(md_show_usage): Mention -32 and -64.
|
||||||
|
(cons_fix_new_mips): If mips_64, don't convert an 8 byte reloc to
|
||||||
|
a 4 byte one.
|
||||||
|
|
||||||
Thu May 30 10:36:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
|
Thu May 30 10:36:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
|
||||||
|
|
||||||
* config/tc-ppc.c (comment_chars): Make '!' a comment character
|
* config/tc-ppc.c (comment_chars): Make '!' a comment character
|
||||||
|
|
|
@ -1821,6 +1821,11 @@ s_lcomm (needs_align)
|
||||||
{
|
{
|
||||||
bss_seg = subseg_new (".sbss", 1);
|
bss_seg = subseg_new (".sbss", 1);
|
||||||
seg_info (bss_seg)->bss = 1;
|
seg_info (bss_seg)->bss = 1;
|
||||||
|
#ifdef BFD_ASSEMBLER
|
||||||
|
if (! bfd_set_section_flags (stdoutput, bss_seg, SEC_ALLOC))
|
||||||
|
as_warn ("error setting flags for \".sbss\": %s",
|
||||||
|
bfd_errmsg (bfd_get_error ()));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue