public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] m68k: drop .bss override
@ 2024-01-05  7:07 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2024-01-05  7:07 UTC (permalink / raw)
  To: bfd-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a998254496d64940c4464606e95cdb952fe67fea

commit a998254496d64940c4464606e95cdb952fe67fea
Author: Jan Beulich <jbeulich@suse.com>
Date:   Fri Jan 5 08:06:54 2024 +0100

    m68k: 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-m68k.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c
index d22facf8d82..d04aa1edecd 100644
--- a/gas/config/tc-m68k.c
+++ b/gas/config/tc-m68k.c
@@ -455,7 +455,6 @@ static int reverse_16_bits (int in);
 static int reverse_8_bits (int in);
 static void install_gen_operand (int mode, int val);
 static void install_operand (int mode, int val);
-static void s_bss (int);
 static void s_data1 (int);
 static void s_data2 (int);
 static void s_even (int);
@@ -862,7 +861,6 @@ const pseudo_typeS md_pseudo_table[] =
 {
   {"data1", s_data1, 0},
   {"data2", s_data2, 0},
-  {"bss", s_bss, 0},
   {"even", s_even, 0},
   {"skip", s_space, 0},
   {"proc", s_proc, 0},
@@ -5493,16 +5491,6 @@ s_data2 (int ignore ATTRIBUTE_UNUSED)
   demand_empty_rest_of_line ();
 }
 
-static void
-s_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 ();
-}
-
 static void
 s_even (int ignore ATTRIBUTE_UNUSED)
 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-05  7:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-05  7:07 [binutils-gdb] m68k: drop .bss override Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).