aboutsummaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2014-01-15 03:59:42 -0800
committerH.J. Lu <hjl.tools@gmail.com>2014-01-15 03:59:42 -0800
commitc353e543fe20cb01262548486ee2c9af70608a01 (patch)
tree87a9c4ffbb4cbb88c8ccd960c41103f6d09409a0 /cpu
parent4199e3b8669d0a36448687850374fdc2ad7240b6 (diff)
downloadgdb-c353e543fe20cb01262548486ee2c9af70608a01.zip
gdb-c353e543fe20cb01262548486ee2c9af70608a01.tar.gz
gdb-c353e543fe20cb01262548486ee2c9af70608a01.tar.bz2
Revert the last change
It has been fixed by commit 4199e3b8669d0a36448687850374fdc2ad7240b6 Author: Alan Modra <amodra@gmail.com> Date: Wed Jan 15 21:50:55 2014 +1030 non-PIC references to __ehdr_start in pie and shared Rather than hacking every backend to not discard dynamic relocations against an undefined hidden __ehdr_start, make it appear to be defined early. We want __ehdr_start hidden before size_dynamic_sections so that it isn't put in .dynsym, but we do need the dynamic relocations for a PIE or shared library with a non-PIC reference. Defining it early is wrong if we don't actually define the symbol later to its proper value. (In some cases we want to leave the symbol undefined, for example, when the ELF header isn't loaded, and we don't have this infomation available in before_allocation.) * elf32-i386.c (elf_i386_allocate_dynrelocs): Revert the last change. * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
Diffstat (limited to 'cpu')
0 files changed, 0 insertions, 0 deletions