From 3716238058fbb8ebd89bc3d90661705736b3eff4 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 25 Jun 2009 17:25:35 -0700 Subject: [PATCH] ELF: bump GLOBAL_TEMP_BASE Bump GLOBAL_TEMP_BASE so far that it *cannot* conflict for ELF32 (which has 24-bit symbol table indicies) and is *unlikely* to conflict for ELF64 (which has 32-bit symbol table indicies.) Signed-off-by: H. Peter Anvin --- output/outelf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output/outelf.h b/output/outelf.h index 0730521..e38adb1 100644 --- a/output/outelf.h +++ b/output/outelf.h @@ -6,7 +6,7 @@ #define SYM_GLOBAL 0x10 -#define GLOBAL_TEMP_BASE 1048576 /* bigger than any reasonable sym id */ +#define GLOBAL_TEMP_BASE 0x40000000 /* bigger than any sane symbol index */ #define SEG_ALIGN 16 /* alignment of sections in file */ #define SEG_ALIGN_1 (SEG_ALIGN-1) -- 2.7.4