diff options
author | Jan Beulich <jbeulich@suse.com> | 2024-01-05 08:08:52 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2024-01-05 08:08:52 +0100 |
commit | 8fc8d7cd79a3da61f6af4cb9f0ad057c238a91f2 (patch) | |
tree | 723ac3c6df997b7565736cdcbaab2b3117c8142b /gas | |
parent | a2f964a61723482efdbef0612cb48cb27387a230 (diff) | |
download | fsf-binutils-gdb-8fc8d7cd79a3da61f6af4cb9f0ad057c238a91f2.zip fsf-binutils-gdb-8fc8d7cd79a3da61f6af4cb9f0ad057c238a91f2.tar.gz fsf-binutils-gdb-8fc8d7cd79a3da61f6af4cb9f0ad057c238a91f2.tar.bz2 |
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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/config/tc-pru.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-pru.c b/gas/config/tc-pru.c index 6f97bc8..99a3c1e 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; |