summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr22393-1e.d
diff options
context:
space:
mode:
authorHannes Domani <ssbssa@yahoo.de>2020-04-27 15:58:09 +0200
committerHannes Domani <ssbssa@yahoo.de>2020-04-30 14:36:55 +0200
commit627c7fb8ea16388f349b6b26e20bf017d71e51fe (patch)
tree6c3768b72f7861c80244e1cc16c1bebf88c76e7c /ld/testsuite/ld-elf/pr22393-1e.d
parentc578f16ef18fde35d5887909d5faaf0bd0118e9d (diff)
downloadbinutils-gdb-627c7fb8ea16388f349b6b26e20bf017d71e51fe.tar.gz
Use thiscall calling convention for class members
Non-static member functions for Windows 32bit programs need the thiscall calling convention, so the 'this' pointer needs to be passed in ECX. gdb/ChangeLog: 2020-04-30 Hannes Domani <ssbssa@yahoo.de> PR gdb/15559 * i386-tdep.c (i386_push_dummy_call): Call i386_thiscall_push_dummy_call. (i386_thiscall_push_dummy_call): New function. * i386-tdep.h (i386_thiscall_push_dummy_call): Declare. * i386-windows-tdep.c (i386_windows_push_dummy_call): New function. (i386_windows_init_abi): Call set_gdbarch_push_dummy_call.
Diffstat (limited to 'ld/testsuite/ld-elf/pr22393-1e.d')
0 files changed, 0 insertions, 0 deletions