aboutsummaryrefslogtreecommitdiff
path: root/gdb/d-namespace.c
diff options
context:
space:
mode:
authorMihails Strasuns <mihails.strasuns@intel.com>2020-02-17 11:36:47 +0100
committerMihails Strasuns <mihails.strasuns@intel.com>2020-05-12 09:52:46 +0200
commit80ad340c90234f7294ee71468c984e7f853d9bb6 (patch)
treea3c2677b51aa3c0eaa7eddc6e082e7f65e3833da /gdb/d-namespace.c
parentf80120719777e671e871434d727716355d6ab57d (diff)
downloadbinutils-80ad340c90234f7294ee71468c984e7f853d9bb6.zip
binutils-80ad340c90234f7294ee71468c984e7f853d9bb6.tar.gz
binutils-80ad340c90234f7294ee71468c984e7f853d9bb6.tar.bz2
[gdb/testsuite] use -Ttext-segment for jit-elf tests
Removes the need to manually relocate loaded ELF binary by using a fixed constant as both mmap base address and as a requested first segment address supplied to the linker. In future will enable JIT tests with a valid DWARF debug info. Current tests still need to compile without a debug info though, because they do a function name modification. gdb/testsuite/ChangeLog: 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com> * lib/jit-elf-helpers.exp: Supply -Ttext-segment linker flag and define LOAD_ADDRESS/LOAD_INCREMENT macros for the compiled binaries. * gdb.base/jit-elf-main.c: Use LOAD_ADDRESS/LOAD_INCREMENT to calculate the mmap address.
Diffstat (limited to 'gdb/d-namespace.c')
0 files changed, 0 insertions, 0 deletions