From: Nick Clifton Date: Fri, 20 Jan 2017 10:21:17 +0000 (+0000) Subject: Fix problem in aarch64 gold sources uncovered by Coverty - using sizeof on a pointer... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a24df3057179f81a2624bf3bd3d78113cb2fcc8e;p=binutils-gdb.git Fix problem in aarch64 gold sources uncovered by Coverty - using sizeof on a pointer instead of an array. * aarch64.cc (Stub_template_repertoire): Change ST_E_835769_INSNS from a pointer to an array. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index 787fb6e7e76..b357d88ac64 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2017-01-20 Nick Clifton + + * aarch64.cc (Stub_template_repertoire): Change ST_E_835769_INSNS + from a pointer to an array. + 2017-01-13 H.J. Lu PR gold/21040 diff --git a/gold/aarch64.cc b/gold/aarch64.cc index b207dcdc3da..b282ccf4ef0 100644 --- a/gold/aarch64.cc +++ b/gold/aarch64.cc @@ -784,8 +784,14 @@ Stub_template_repertoire::Stub_template_repertoire() 0x14000000, /* b