[binutils-gdb] ELF: use is_end_of_stmt()
Jan Beulich
jbeulich@sourceware.org
Fri Mar 7 07:10:17 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ce6f50b0362cb40f64fb83655aa922eebb3c7379
commit ce6f50b0362cb40f64fb83655aa922eebb3c7379
Author: Jan Beulich <jbeulich@suse.com>
Date: Fri Mar 7 08:08:25 2025 +0100
ELF: use is_end_of_stmt()
... instead of open-coding it.
Diff:
---
gas/config/obj-elf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c
index 0eb809cc15e..d37d0fdc610 100644
--- a/gas/config/obj-elf.c
+++ b/gas/config/obj-elf.c
@@ -264,7 +264,7 @@ elf_common_parse (int ignore ATTRIBUTE_UNUSED, symbolS *symbolP, addressT size)
while (*--p != '"')
;
- while (!is_end_of_line[(unsigned char) *input_line_pointer])
+ while (!is_end_of_stmt (*input_line_pointer))
if (*input_line_pointer++ == '"')
break;
c = *input_line_pointer;
@@ -1324,7 +1324,7 @@ obj_elf_section (int push)
&& (bfd_section_flags (now_seg)
& (SEC_MERGE | SEC_STRINGS)) != 0)
goto fetch_entsize;
- if (is_end_of_line[(unsigned char) *input_line_pointer])
+ if (is_end_of_stmt (*input_line_pointer))
{
/* ??? This is here for older versions of gcc that
test for gas string merge support with
More information about the Binutils-cvs
mailing list