diff options
| author | Mark Wielaard <[email protected]> | 2014-07-04 14:30:48 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2014-07-04 14:30:48 +0200 |
| commit | a95c4ad24cf83b2b0273fee73162bf476cebec8f (patch) | |
| tree | a50510b5ef12ec3ea8a68bf73e38f0e5f818ae17 /src | |
| parent | 16e2d351bf31d0ce09ce9632ff196cbd973b656b (diff) | |
Add ppc64le ELFv2 abi support to backends and elflint.
The big endian vs little endian changes are already handled by detecting
the EI_DATA data encoding. And the function descriptors are already not
used when we see there is no .opd section. This change adds new checks
for st_other bits, new relocations and recognizes DT_PPC64_OPT.
Signed-off-by: Menanteau Guy <[email protected]>
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/elflint.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 30234237..2d6965bf 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2014-07-04 Menanteau Guy <[email protected]> + Mark Wielaard <[email protected]> + + * elflint (check_symtab): Add ".TOC." to the list of possibly + dangling symbols because of sourceware PR13621. + 2014-06-14 Mark Wielaard <[email protected]> * elflint (check_symtab): Use ebl_func_addr_mask on st_value. diff --git a/src/elflint.c b/src/elflint.c index 5568c65c..d6a47748 100644 --- a/src/elflint.c +++ b/src/elflint.c @@ -799,7 +799,8 @@ section [%2d] '%s': symbol %zu: function in COMMON section is nonsense\n"), && strcmp (name, "__fini_array_end") != 0 && strcmp (name, "__bss_start") != 0 && strcmp (name, "__bss_start__") != 0 - && strcmp (name, "__TMC_END__") != 0)) + && strcmp (name, "__TMC_END__") != 0 + && strcmp (name, ".TOC.") != 0)) ERROR (gettext ("\ section [%2d] '%s': symbol %zu: st_value out of bounds\n"), idx, section_name (ebl, idx), cnt); |
