summaryrefslogtreecommitdiff
path: root/ldso/ldso/ldso.c
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2004-10-06 06:59:57 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2004-10-06 06:59:57 +0000
commite93138024a06eab6edeaa542c4660d246ef2cfce (patch)
treebe0ec2d49eea210ee478dfc2ab6ddb165cfcb5c4 /ldso/ldso/ldso.c
parent2e0531ba98a9c72edfeeafb061a38571e9522c49 (diff)
Remove unneeded -D<somedefine>, and use instead #ifdef __somedefine__
From Peter Mazinger.
Diffstat (limited to 'ldso/ldso/ldso.c')
-rw-r--r--ldso/ldso/ldso.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
index 52260be78..78ce5c95f 100644
--- a/ldso/ldso/ldso.c
+++ b/ldso/ldso/ldso.c
@@ -239,7 +239,7 @@ void _dl_get_ready_to_run(struct elf_resolve *tpnt, unsigned long load_addr,
app_tpnt->dynamic_info[DT_TEXTREL] = 1;
dpnt++;
}
-#ifndef FORCE_SHAREABLE_TEXT_SEGMENTS
+#ifndef __FORCE_SHAREABLE_TEXT_SEGMENTS__
/* Ugly, ugly. We need to call mprotect to change the
* protection of the text pages so that we can do the
* dynamic linking. We can set the protection back
@@ -803,7 +803,7 @@ next_lib2:
if (_dl_envp)
*_dl_envp = (unsigned long) envp;
-#ifndef FORCE_SHAREABLE_TEXT_SEGMENTS
+#ifndef __FORCE_SHAREABLE_TEXT_SEGMENTS__
{
unsigned int j;
ElfW(Phdr) *myppnt;