public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] d30v: fix .text/.data interaction with .previous
@ 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=b22e2763388e3d5aaf28fd9621e16a038e8c94be

commit b22e2763388e3d5aaf28fd9621e16a038e8c94be
Author: Jan Beulich <jbeulich@suse.com>
Date:   Fri Jan 5 08:05:33 2024 +0100

    d30v: fix .text/.data interaction with .previous
    
    Just like obj_elf_section() is called for .section, obj_elf_{text,data}()
    need calling for .text/.data.

Diff:
---
 gas/config/tc-d30v.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gas/config/tc-d30v.c b/gas/config/tc-d30v.c
index 5b9a0bd30f4..0eab055e386 100644
--- a/gas/config/tc-d30v.c
+++ b/gas/config/tc-d30v.c
@@ -2055,7 +2055,7 @@ static void
 s_d30v_text (int i)
 
 {
-  s_text (i);
+  obj_elf_text (i);
   d30v_last_label = NULL;
   d30v_current_align = 0;
   d30v_current_align_seg = now_seg;
@@ -2067,7 +2067,7 @@ s_d30v_text (int i)
 static void
 s_d30v_data (int i)
 {
-  s_data (i);
+  obj_elf_data (i);
   d30v_last_label = NULL;
   d30v_current_align = 0;
   d30v_current_align_seg = now_seg;

^ 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] d30v: fix .text/.data interaction with .previous 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).