summaryrefslogtreecommitdiff
path: root/ldso/include
diff options
context:
space:
mode:
authorDmitry Chestnykh <dm.chestnykh@gmail.com>2024-02-22 21:59:07 +0300
committerWaldemar Brodkorb <wbx@openadk.org>2024-02-25 11:29:43 +0100
commit242023ce7d219369503fc033e862bad6a6e4c52a (patch)
tree7b910973ff2e575a9142e587fe58b03820e51a29 /ldso/include
parent852836ae660ff92cc7c750b4c39c78d161fb10b5 (diff)
ldso: Remove unneeded semicolons.
We use semicolons in the place of `DL_RELOCATE_RELR()` and `DL_DO_RELOCATE_RELR()` 'calling' so the semicolon in the macro definition leads to semicolon duplication after preprocessing. Signed-off-by: Dmitry Chestnykh <dm.chestnykh@gmail.com>
Diffstat (limited to 'ldso/include')
-rw-r--r--ldso/include/dl-elf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/include/dl-elf.h b/ldso/include/dl-elf.h
index 7143b572c..832f6b1dd 100644
--- a/ldso/include/dl-elf.h
+++ b/ldso/include/dl-elf.h
@@ -274,7 +274,7 @@ unsigned int __dl_parse_dynamic_info(ElfW(Dyn) *dpnt, unsigned long dynamic_info
relr_reloc_addr += CHAR_BIT * sizeof(ElfW(Relr)) - 1; \
} \
} \
- } while (0);
+ } while (0)
/* The macro to prepare data for the above DL_DO_RELOCATE_RELR */
#define DL_RELOCATE_RELR(dyn) \
@@ -289,7 +289,7 @@ unsigned int __dl_parse_dynamic_info(ElfW(Dyn) *dpnt, unsigned long dynamic_info
dyn->libname, (void *)relr_start, (void *)relr_end); \
DL_DO_RELOCATE_RELR(dyn->loadaddr, relr_start, relr_end); \
} \
- } while (0);
+ } while (0)
#endif /* __FDPIC__ */
#endif /* _DL_ELF_H */