[PATCH 1/2] include/elf.h: align ELF macro name with glibc

Jim Shu posted 2 patches 1 month, 3 weeks ago
[PATCH 1/2] include/elf.h: align ELF macro name with glibc
Posted by Jim Shu 1 month, 3 weeks ago
Rename DT_BINDNOW to DT_BIND_NOW to align with glibc header: "elf/elf.h"

Signed-off-by: Jim Shu <jim.shu@sifive.com>
---
 include/elf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/elf.h b/include/elf.h
index e7259ec366..ef47b5e2ad 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -235,7 +235,7 @@ typedef struct mips_elf_abiflags_v0 {
 #define DT_DEBUG        21
 #define DT_TEXTREL      22
 #define DT_JMPREL       23
-#define DT_BINDNOW      24
+#define DT_BIND_NOW     24
 #define DT_INIT_ARRAY   25
 #define DT_FINI_ARRAY   26
 #define DT_INIT_ARRAYSZ 27
-- 
2.17.1
Re: [PATCH 1/2] include/elf.h: align ELF macro name with glibc
Posted by Richard Henderson 1 month, 3 weeks ago
On 7/26/24 14:32, Jim Shu wrote:
> Rename DT_BINDNOW to DT_BIND_NOW to align with glibc header: "elf/elf.h"
> 
> Signed-off-by: Jim Shu<jim.shu@sifive.com>
> ---
>   include/elf.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~