tag | 62d14cc5c7de6947f6e65f154c9b166e49b4e4fb | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Jul 30 13:31:43 2018 -0700 |
object | a7e49fd02c21a496095c828841f209eef8ae2985 |
NDK Release 18-beta1
commit | a7e49fd02c21a496095c828841f209eef8ae2985 | [log] [tgz] |
---|---|---|
author | Rahul Chaudhry <rahulchaudhry@google.com> | Tue May 01 15:06:58 2018 -0700 |
committer | Rahul Chaudhry <rahulchaudhry@google.com> | Tue May 01 15:22:40 2018 -0700 |
tree | 33b00b4b26119ad468d7b9257ebcce47edcdd8b3 | |
parent | 3b4e21d2318bc1b6547e45f3393514e7b0be7df2 [diff] |
bfd: add experimental support for SHT_RELR sections. This change adds experimental support for SHT_RELR sections, proposed here: https://groups.google.com/forum/#!topic/generic-abi/bX460iggiKg This is a subset of the change that was merged into the aosp/binutils repo (https://android-review.googlesource.com/572669). It contains the definitions for the new section type / dynamic tags, and support in bfd for recognizing the new section type. Gdb uses bfd to read the program binary, and without this support, it fails to detect some architecture related settings. Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=836845 Test: Built gdb inside a Chrome OS chroot. Verified that architecture auto-detection works for an x86_64 binary containing a '.relr.dyn' section. The message "don't know how to handle section `.relr.dyn'" is no longer printed. Change-Id: Id199a7201d4750d2c6cb41a0c1a811777c322621