[binutils-gdb] s390: drop .bss override
Jan Beulich
jbeulich@sourceware.org
Fri Jan 5 07:10:51 GMT 2024
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f04eabd6b3a6e514ab644f61ffa6eb10ff319e09
commit f04eabd6b3a6e514ab644f61ffa6eb10ff319e09
Author: Jan Beulich <jbeulich@suse.com>
Date: Fri Jan 5 08:10:01 2024 +0100
s390: drop .bss override
The comment looks bogus (perhaps simply stale), and there are also no
other precautions against subsections being used on ELF with .bss. It
also doesn't look to be a good idea to override the custom handler that
ELF has (afaict doing so further broke .previous).
Diff:
---
gas/config/tc-s390.c | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/gas/config/tc-s390.c b/gas/config/tc-s390.c
index 70d4bdf3149..09a903aea2d 100644
--- a/gas/config/tc-s390.c
+++ b/gas/config/tc-s390.c
@@ -88,7 +88,6 @@ int s390_cie_data_alignment;
/* Define the prototypes for the pseudo-ops */
static void s390_byte (int);
static void s390_elf_cons (int);
-static void s390_bss (int);
static void s390_insn (int);
static void s390_literals (int);
static void s390_machine (int);
@@ -98,7 +97,6 @@ const pseudo_typeS md_pseudo_table[] =
{
{ "align", s_align_bytes, 0 },
/* Pseudo-ops which must be defined. */
- { "bss", s390_bss, 0 },
{ "insn", s390_insn, 0 },
/* Pseudo-ops which must be overridden. */
{ "byte", s390_byte, 0 },
@@ -1734,16 +1732,6 @@ md_create_long_jump (ptr, from_addr, to_addr, frag, to_symbol)
}
#endif
-void
-s390_bss (int ignore ATTRIBUTE_UNUSED)
-{
- /* We don't support putting frags in the BSS segment, we fake it
- by marking in_bss, then looking at s_skip for clues. */
-
- subseg_set (bss_section, 0);
- demand_empty_rest_of_line ();
-}
-
/* Pseudo-op handling. */
void
More information about the Binutils-cvs
mailing list