* [binutils-gdb] nios2: fix .text/.data interaction with .previous
@ 2023-12-22 8:37 Jan Beulich
0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2023-12-22 8:37 UTC (permalink / raw)
To: bfd-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f91e91d85ecb0ae9a7dbd4fef761bf6169f7919c
commit f91e91d85ecb0ae9a7dbd4fef761bf6169f7919c
Author: Jan Beulich <jbeulich@suse.com>
Date: Fri Dec 22 09:36:13 2023 +0100
nios2: 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-nios2.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gas/config/tc-nios2.c b/gas/config/tc-nios2.c
index 999890ecfce..364b6df987c 100644
--- a/gas/config/tc-nios2.c
+++ b/gas/config/tc-nios2.c
@@ -507,7 +507,7 @@ s_nios2_align (int ignore ATTRIBUTE_UNUSED)
static void
s_nios2_text (int i)
{
- s_text (i);
+ obj_elf_text (i);
nios2_last_label = NULL;
nios2_current_align = 0;
nios2_current_align_seg = now_seg;
@@ -518,7 +518,7 @@ s_nios2_text (int i)
static void
s_nios2_data (int i)
{
- s_data (i);
+ obj_elf_data (i);
nios2_last_label = NULL;
nios2_current_align = 0;
nios2_current_align_seg = now_seg;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-22 8:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-22 8:37 [binutils-gdb] nios2: 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).