diff options
| author | Ulrich Drepper <[email protected]> | 2006-06-12 22:40:23 +0000 |
|---|---|---|
| committer | Ulrich Drepper <[email protected]> | 2006-06-12 22:40:23 +0000 |
| commit | 6ca4600fb59d1e1ae3dfb872b184ac91f10c473f (patch) | |
| tree | df850603e6b4df8787b23a46321c13f60e53bac1 /src/elflint.c | |
| parent | cbb51e5253e05d98af8bdaf2217fed00b2e489b9 (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/elflint.c')
| -rw-r--r-- | src/elflint.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/elflint.c b/src/elflint.c index b1eb5d3d..cd335fe6 100644 --- a/src/elflint.c +++ b/src/elflint.c @@ -1170,6 +1170,10 @@ section [%2d] '%s': relocation %zu: relocation type invalid for the file type\n" section [%2d] '%s': relocation %zu: invalid symbol index\n"), idx, section_name (ebl, idx), cnt); + /* No more tests if this is a no-op relocation. */ + if (ebl_none_reloc_p (ebl, GELF_R_TYPE (r_info))) + return; + if (ebl_gotpc_reloc_check (ebl, GELF_R_TYPE (r_info))) { const char *name; |
