aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.c
diff options
context:
space:
mode:
authorOmair Javaid <omair.javaid@linaro.org>2013-11-14 15:16:20 +0000
committerWill Newton <will.newton@linaro.org>2013-11-14 15:18:17 +0000
commitc7e8af9b3bc0881c59c999d7b78348d359383efe (patch)
tree915e31372490d7ad6db2163fe508fd95421e1cae /bfd/libbfd.c
parent31fc8a0b2f4eaf15155d5b02b8017220c32aacbd (diff)
downloadgdb-c7e8af9b3bc0881c59c999d7b78348d359383efe.zip
gdb-c7e8af9b3bc0881c59c999d7b78348d359383efe.tar.gz
gdb-c7e8af9b3bc0881c59c999d7b78348d359383efe.tar.bz2
testsuite/gdb.dwarf2: dw2-case-insensitive.exp: p fuNC_lang fails on arm
dw2-case-insensitive.exp: p fuNC_lang fails on arm. The problem occurs when thumb mode code is generated. On ARM last bit of function pointer value indicates whether the target function is an ARM (if 0) or Thumb (if 1) routine. The PC address should refer to actual address in either case. This patch adds new compile unit and function labels to code which act as address ranges of compile unit and functions in debug information. Therefore address ranges will have correct addresses and not the ones with an incremented least significant bit. This patch has been tested on x86_64 and arm machines. gdb/testsuite/ChangeLog: 2013-11-14 Omair Javaid <Omair.Javaid@linaro.org> * gdb.dwarf2/dw2-case-insensitive-debug.S: Updated compile unit and function label names. * gdb.dwarf2/dw2-case-insensitive.c: Created function and compile unit labels.
Diffstat (limited to 'bfd/libbfd.c')
0 files changed, 0 insertions, 0 deletions