]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
compile: Fix function pointers
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 23 Jan 2015 09:52:55 +0000 (10:52 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 23 Jan 2015 09:52:55 +0000 (10:52 +0100)
commitcef1719ed36a945f263d1d1605af7046e9b18b84
tree6ae5c2788ac4e70e65700244058107994a705db7
parent7da16a31d6a54bb6243a296649e53572688afc16
compile: Fix function pointers

TBH while I always comment reasons for each of the compilation options in
reality I tried them all and chose that combination that needs the most simple
compile/compile-object-load.c (ld.so emulation) implementation.

gdb/ChangeLog
2015-01-23  Jan Kratochvil  <jan.kratochvil@redhat.com>

* compile/compile.c (_initialize_compile): Use -fPIE for compile_args.

gdb/testsuite/ChangeLog
2015-01-23  Jan Kratochvil  <jan.kratochvil@redhat.com>

* gdb.compile/compile.exp (pointer to jit function): New test.
gdb/ChangeLog
gdb/compile/compile.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.compile/compile.exp