diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2019-02-19 16:14:34 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2019-02-19 16:14:34 +0000 |
commit | c97f77a35c242b1d07a88b4cd962086badae1c6d (patch) | |
tree | 86217ad734f245c7390409dcedff8e2281abe053 | |
parent | 5369fb96af8139e9c37c1cef86731e73afc093d5 (diff) |
* unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
regno instead of index to DWARF_ZERO_REG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-8-branch@269022 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libgcc/ChangeLog | 29 | ||||
-rw-r--r-- | libgcc/unwind-dw2.c | 2 |
2 files changed, 18 insertions, 13 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index e4e604284a4..28cbc54c41a 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2019-02-19 Uroš Bizjak <ubizjak@gmail.com> + + * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare + regno instead of index to DWARF_ZERO_REG. + 2018-10-03 H.J. Lu <hongjiu.lu@intel.com> Backport from mainline @@ -20,7 +25,7 @@ unordered store to release lock. (__sync_lock_release_8): Likewise. (SYNC_LOCK_RELEASE_2): Remove define. - + 2018-07-26 Release Manager * GCC 8.2.0 released. @@ -177,7 +182,7 @@ * config/pa/fptr.c (_dl_read_access_allowed): New. (__canonicalize_funcptr_for_compare): Use it. - + 2018-02-28 Jakub Jelinek <jakub@redhat.com> PR debug/83917 @@ -274,21 +279,21 @@ * config/rl78/t-rl78: Added smindi3.S to LIB2ADD. 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com> - + * config/rl78/smaxdi3.S: New assembly file. * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD. 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com> - + * config/rl78/umaxdi3.S: New assembly file. * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD. - + 2018-01-21 John David Anglin <danglin@gcc.gnu.org> PR lto/83452 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition. * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment. - + 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org> * config/aarch64/value-unwind.h (aarch64_vg): New function. @@ -598,8 +603,8 @@ config/i386/enable-execute-stack-mingw32.c 2017-08-01 Jerome Lambourg <lambourg@adacore.com> - Doug Rupp <rupp@adacore.com> - Olivier Hainque <hainque@adacore.com> + Doug Rupp <rupp@adacore.com> + Olivier Hainque <hainque@adacore.com> * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7 as well as arm-wrs-vxworks. @@ -735,10 +740,10 @@ Matthieu Sarter <matthieu.sarter.external@atos.net> David Edelsohn <dje.gcc@gmail.com> - * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define - unconditionally. - (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit - AIX 7.2 support. + * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define + unconditionally. + (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit + AIX 7.2 support. 2017-06-02 Olivier Hainque <hainque@adacore.com> diff --git a/libgcc/unwind-dw2.c b/libgcc/unwind-dw2.c index de9310f524f..952288ed5cb 100644 --- a/libgcc/unwind-dw2.c +++ b/libgcc/unwind-dw2.c @@ -225,7 +225,7 @@ _Unwind_GetGR (struct _Unwind_Context *context, int regno) _Unwind_Context_Reg_Val val; #ifdef DWARF_ZERO_REG - if (index == DWARF_ZERO_REG) + if (regno == DWARF_ZERO_REG) return 0; #endif |