diff options
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/dl-elf.c | 2 | ||||
-rw-r--r-- | ldso/ldso/ldso.c | 4 | ||||
-rw-r--r-- | ldso/ldso/linuxelf.h | 12 | ||||
-rw-r--r-- | ldso/ldso/readelflib1.c | 2 |
4 files changed, 4 insertions, 16 deletions
diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c index 7a0e3fcef..ea6650968 100644 --- a/ldso/ldso/dl-elf.c +++ b/ldso/ldso/dl-elf.c @@ -562,7 +562,7 @@ struct elf_resolve *_dl_load_elf_shared_library(int secure, continue; } dynamic_info[dpnt->d_tag] = dpnt->d_un.d_val; - if (dpnt->d_tag == DT_TEXTREL || SVR4_BUGCOMPAT) + if (dpnt->d_tag == DT_TEXTREL) dynamic_info[DT_TEXTREL] = 1; dpnt++; }; diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c index 01ec298c2..9a119a92c 100644 --- a/ldso/ldso/ldso.c +++ b/ldso/ldso/ldso.c @@ -397,7 +397,7 @@ LD_BOOT(unsigned long args) #endif if (dpnt->d_tag < 24) { tpnt->dynamic_info[dpnt->d_tag] = dpnt->d_un.d_val; - if (dpnt->d_tag == DT_TEXTREL || SVR4_BUGCOMPAT) { + if (dpnt->d_tag == DT_TEXTREL) { tpnt->dynamic_info[DT_TEXTREL] = 1; } } @@ -435,7 +435,7 @@ LD_BOOT(unsigned long args) #else dpnt_debug = dpnt; #endif - if (dpnt->d_tag == DT_TEXTREL || SVR4_BUGCOMPAT) + if (dpnt->d_tag == DT_TEXTREL) app_tpnt->dynamic_info[DT_TEXTREL] = 1; dpnt++; } diff --git a/ldso/ldso/linuxelf.h b/ldso/ldso/linuxelf.h index 26d3937c4..98cc06632 100644 --- a/ldso/ldso/linuxelf.h +++ b/ldso/ldso/linuxelf.h @@ -30,18 +30,6 @@ extern int _dl_linux_resolve(void); #define ELF_CLASS ELFCLASS32 -#ifndef SVR4_BUGCOMPAT -# ifdef FORCE_SHAREABLE_TEXT_SEGMENTS -# define SVR4_BUGCOMPAT 0 -# else -# define SVR4_BUGCOMPAT 1 -# endif -#else -# ifdef FORCE_SHAREABLE_TEXT_SEGMENTS -# error option SVR4_BUGCOMPAT combined with option FORCE_SHAREABLE_TEXT_SEGMENTS makes no sense -# endif -#endif - #if ELF_CLASS == ELFCLASS32 #define elfhdr Elf32_Ehdr diff --git a/ldso/ldso/readelflib1.c b/ldso/ldso/readelflib1.c index 7a0e3fcef..ea6650968 100644 --- a/ldso/ldso/readelflib1.c +++ b/ldso/ldso/readelflib1.c @@ -562,7 +562,7 @@ struct elf_resolve *_dl_load_elf_shared_library(int secure, continue; } dynamic_info[dpnt->d_tag] = dpnt->d_un.d_val; - if (dpnt->d_tag == DT_TEXTREL || SVR4_BUGCOMPAT) + if (dpnt->d_tag == DT_TEXTREL) dynamic_info[DT_TEXTREL] = 1; dpnt++; }; |