public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] pru: fix .text/.data interaction with .previous
@ 2024-01-05  7:10 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2024-01-05  7:10 UTC (permalink / raw)
  To: bfd-cvs

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

commit 8fc8d7cd79a3da61f6af4cb9f0ad057c238a91f2
Author: Jan Beulich <jbeulich@suse.com>
Date:   Fri Jan 5 08:08:52 2024 +0100

    pru: 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-pru.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gas/config/tc-pru.c b/gas/config/tc-pru.c
index 6f97bc86278..99a3c1ef88c 100644
--- a/gas/config/tc-pru.c
+++ b/gas/config/tc-pru.c
@@ -368,7 +368,7 @@ s_pru_align (int ignore ATTRIBUTE_UNUSED)
 static void
 s_pru_text (int i)
 {
-  s_text (i);
+  obj_elf_text (i);
   pru_last_label = NULL;
   pru_current_align = 0;
   pru_current_align_seg = now_seg;
@@ -379,7 +379,7 @@ s_pru_text (int i)
 static void
 s_pru_data (int i)
 {
-  s_data (i);
+  obj_elf_data (i);
   pru_last_label = NULL;
   pru_current_align = 0;
   pru_current_align_seg = now_seg;

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

only message in thread, other threads:[~2024-01-05  7:10 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:10 [binutils-gdb] pru: 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).