diff options
author | Jan Beulich <jbeulich@suse.com> | 2023-12-15 12:41:21 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2023-12-15 12:41:21 +0100 |
commit | f27110955454028a389d38a7c5017e36b625bdb5 (patch) | |
tree | 4a068b70f43c9a8220a9139aabb1629a81fedf16 /gas/config/tc-rx.c | |
parent | d4064aad87f47dac73f9ae2b2c24bae8bb5feabe (diff) | |
download | fsf-binutils-gdb-f27110955454028a389d38a7c5017e36b625bdb5.zip fsf-binutils-gdb-f27110955454028a389d38a7c5017e36b625bdb5.tar.gz fsf-binutils-gdb-f27110955454028a389d38a7c5017e36b625bdb5.tar.bz2 |
ELF: drop "push" parameter from obj_elf_change_section()
No caller outside of obj-elf.c cares about the parameter - drop it by
introducing an obj-elf.c-internal wrapper.
While adding the new function parameter, take the opportunity and change
the adjacent boolean one to "bool".
Diffstat (limited to 'gas/config/tc-rx.c')
-rw-r--r-- | gas/config/tc-rx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-rx.c b/gas/config/tc-rx.c index c011ec1..2a5dca7 100644 --- a/gas/config/tc-rx.c +++ b/gas/config/tc-rx.c @@ -488,7 +488,7 @@ parse_rx_section (char * name) else type = SHT_NOBITS; - obj_elf_change_section (name, type, attr, 0, NULL, false, false); + obj_elf_change_section (name, type, attr, 0, NULL, false); } else /* Try not to redefine a section, especially B_1. */ { @@ -503,7 +503,7 @@ parse_rx_section (char * name) | ((flags & SEC_STRINGS) ? SHF_STRINGS : 0) | ((flags & SEC_THREAD_LOCAL) ? SHF_TLS : 0); - obj_elf_change_section (name, type, attr, 0, NULL, false, false); + obj_elf_change_section (name, type, attr, 0, NULL, false); } bfd_set_section_alignment (now_seg, align); |