summaryrefslogtreecommitdiffstats
path: root/src/ldscript.y
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2006-06-12 22:40:23 +0000
committerUlrich Drepper <[email protected]>2006-06-12 22:40:23 +0000
commit6ca4600fb59d1e1ae3dfb872b184ac91f10c473f (patch)
treedf850603e6b4df8787b23a46321c13f60e53bac1 /src/ldscript.y
parentcbb51e5253e05d98af8bdaf2217fed00b2e489b9 (diff)
Don't create INTERP and PHDR program header entry if a DSO is created without
a specific interpreter. Ignore duplicate COMDAT group sections. elflint should not complain about anything about *_NONE relocations. Add support to libebl to determine whether given relocation is *_NONE relocation.
Diffstat (limited to 'src/ldscript.y')
-rw-r--r--src/ldscript.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ldscript.y b/src/ldscript.y
index 764b4157..252f9d4b 100644
--- a/src/ldscript.y
+++ b/src/ldscript.y
@@ -165,7 +165,8 @@ content: kENTRY '(' kID ')' ';'
}
| kINTERP '(' filename_id ')' ';'
{
- if (likely (ld_state.interp == NULL))
+ if (likely (ld_state.interp == NULL)
+ && ld_state.file_type != dso_file_type)
ld_state.interp = $3;
}
| kSEGMENT kMODE '{' outputsections '}'