aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libgcc/unwind-dw2-fde-dip.c
Commit message (Collapse)AuthorAgeFilesLines
* libgcc: work around old Bionic loader bugRyan Prichard2018-06-281-0/+24
| | | | | | | | | | | | | | | | | dl_iterate_phdr returns a 0 load_base for a PIE executable when it should return the address where the executable was loaded (e.g. the load base or load bias). Recalculate the load base when it is zero. This recalculation should work on any ELF file with a PT_PHDR segment -- it will calculate 0 for a non-PIE executable. The load base is added to an ELF virtual address to produce a run-time address. Recalculate it by subtracting the PT_PHDR's virtual address from its run-time address. Bug: https://github.com/android-ndk/ndk/issues/505 Test: manual Test: run NDK tests (./checkbuild.py && ./run_tests.py) Change-Id: I7de46c07a8b04e794b59f07b4d554238cfd6d5d9
* Initial checkin of GCC 4.9.0 from trunk (r208799).Ben Cheng2014-03-251-0/+481
Change-Id: I48a3c08bb98542aa215912a75f03c0890e497dba