https://sourceware.org/bugzilla/show_bug.cgi?id=19163

            Bug ID: 19163
           Summary: arm64: zero out *reloc for bug compatibility with
                    android linker
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: dimitry at google dot com
                CC: ian at airs dot com
  Target Milestone: ---

Android linker has a bug (affecting version L, L-MR1 and M) where it processes
R_AARCH64_ABS* and R_AARCH64_PREL* incorrectly (by adding *reloc to the
result).
It worked because bdf linker zeros out *reloc.

This bug was fixed by: https://android-review.googlesource.com/176902

Unfortunately the older versions of Android still have this bug. In order to
enable app developers to use ld.gold the resulted libraries have to have zeros
at the addresses of R_AARCH64_ABS* and R_AARCH64_PREL* relocations.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to