aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-01-05 08:10:01 +0100
committerJan Beulich <jbeulich@suse.com>2024-01-05 08:10:01 +0100
commitf04eabd6b3a6e514ab644f61ffa6eb10ff319e09 (patch)
treedb4e7f568a60b228e0fd1e7c12e74ff9a71834bf /gas
parentb89861c7941296228525334485356ca50431f9b5 (diff)
downloadfsf-binutils-gdb-f04eabd6b3a6e514ab644f61ffa6eb10ff319e09.zip
fsf-binutils-gdb-f04eabd6b3a6e514ab644f61ffa6eb10ff319e09.tar.gz
fsf-binutils-gdb-f04eabd6b3a6e514ab644f61ffa6eb10ff319e09.tar.bz2
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).
Diffstat (limited to 'gas')
-rw-r--r--gas/config/tc-s390.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gas/config/tc-s390.c b/gas/config/tc-s390.c
index 70d4bdf..09a903a 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