projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2f964a
)
pru: fix .text/.data interaction with .previous
author
Jan Beulich
<jbeulich@suse.com>
Fri, 5 Jan 2024 07:08:52 +0000
(08:08 +0100)
committer
Jan Beulich
<jbeulich@suse.com>
Fri, 5 Jan 2024 07:08:52 +0000
(08:08 +0100)
Just like obj_elf_section() is called for .section, obj_elf_{text,data}()
need calling for .text/.data.
gas/config/tc-pru.c
patch
|
blob
|
history
diff --git
a/gas/config/tc-pru.c
b/gas/config/tc-pru.c
index
6f97bc8
..
99a3c1e
100644
(file)
--- 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;