From 2b597f540fd53fa5a8ade24e32b4c86c274fccae Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 4 Dec 2013 14:53:12 +0100 Subject: Add epilog unwind for x86_64 pe/coff include/coff/ 2013-12-06 Tristan Gingold * pe.h (UWOP_EPILOG, UWOP_PARE): Define. bfd/ 2013-12-06 Tristan Gingold * pei-x86_64.c (pex64_xdata_print_uwd_codes): Add argument rf. Display epilog opcode. (pex64_dump_xdata): Add argument rf; make addr a local variable. Adjust call to pex64_xdata_print_uwd_codes. (pex64_bfd_print_pdata): Display code range, adjust call to pex64_dump_xdata. --- include/coff/ChangeLog | 4 ++++ include/coff/pe.h | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'include/coff') diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog index 2a9c0ab..639fb66 100644 --- a/include/coff/ChangeLog +++ b/include/coff/ChangeLog @@ -1,3 +1,7 @@ +2013-12-06 Tristan Gingold + + * pe.h (UWOP_EPILOG, UWOP_PARE): Define. + 2013-07-10 Tristan Gingold * rs6000.h (external_core_dumpx): New structure. diff --git a/include/coff/pe.h b/include/coff/pe.h index 3b37276..5e2b37e 100644 --- a/include/coff/pe.h +++ b/include/coff/pe.h @@ -392,8 +392,10 @@ struct external_pex64_runtime_function #define UWOP_SET_FPREG 3 #define UWOP_SAVE_NONVOL 4 #define UWOP_SAVE_NONVOL_FAR 5 -#define UWOP_SAVE_XMM 6 /* Deprecated, redefined in version 2. */ -#define UWOP_SAVE_XMM_FAR 7 /* Deprecated. */ +#define UWOP_SAVE_XMM 6 /* For version 1. */ +#define UWOP_EPILOG 6 /* For version 2. */ +#define UWOP_SAVE_XMM_FAR 7 /* For version 1 (deprecated). */ +#define UWOP_SPARE 7 /* For version 2. */ #define UWOP_SAVE_XMM128 8 #define UWOP_SAVE_XMM128_FAR 9 #define UWOP_PUSH_MACHFRAME 10 -- cgit v1.1