| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I26a47a29e4d16e75e21e9295504079a815c334c6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The BFD/LD patch for Cortex-A53 erratum 835769
(https://sourceware.org/ml/binutils/2014-10/msg00199.html)
does not handle a particular case of the AArch64 ELF ABI where mapping
symbols are allowed to be unordered in the symbol table (not in address order).
The unordering causes section maps to be traversed with incorrect span boundaries
(in the erratum scanning function) which causes memory faults. The attached
patch fixes this issue by ordering the section maps by their 'vma' before
starting to traverse them.
While this is not an issue with a the GNU toolchain, it is a potential issue
with Clang/LLVM. We have observed at least one case where LLVM generates an
ELF object with mapping symbols unordered in the symbol table and causes a fault.
We have been unable to construct a test case with the GNU toolchain. We have verified
by manual inspection the correctness of the traversal with this patch for an
LLVM-generated ELF object which triggered this issue. This patch has been bootstrapped
on aarch64-linux and regressed.
Change-Id: I75622055b01eeb3038d5600c9eea395585e54aca
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
executable.
Prevent the linker from generating a seg-fault when the user attempts to link an
ARM ELF binary into an AARCH64 ELF executable.
2014-03-12 Nick Clifton <nickc@redhat.com>
PR ld/16671
* elf32-arm.c (elf32_arm_add_symbol_hook): Check for ARM format
before testing for vxworks.
Change-Id: Ibc81a168b85f70422d428d857b8de0c71e2824ed
|
|
|
|
|
|
|
| |
This is ported from upstream binutils 2.24 branch
commit: cde98f8566e14f52b896abc92c357cdd14717505
Change-Id: Ic5af0a8a8f77444d418d16713e5d6ae490ee8adf
|
|
|
|
| |
Change-Id: I24f28bc29dff188ba059388d8d5478f51da56a12
|
|
|
|
|
|
|
| |
See 6dc39c25be5791b015878f23a2d2e84f2b16ae43 and
1342ca94f07e5164f14acb74b2c3903ba0c4009a
Change-Id: I6b189890304d15972929e1171630c6ecd843139c
|
|
|
|
|
|
|
|
| |
See 2ea716fce6d62ca9b3845c6dde40271438a2891a,
f9dadca89a4a993e5c68137b5b162b5e79fa4455 and
fa1f1a225fd4598b2fb6edf4bf63591c9e72d13a
Change-Id: I17fa387a88f96e01a97a3621e2d8eda405b079be
|
|
Change-Id: I0dfcbae6608dded6c3586bf5f4ac27e9612e70a2
|