From 28b83f21b6f708fcc61937fcc89194e3e5e2b295 Mon Sep 17 00:00:00 2001 From: Olaf Bohlen Date: Thu, 5 Jan 2017 20:41:42 +0100 Subject: [PATCH] 7527 elfdump: sparc build failed after secflags integration Reviewed by: Toomas Soome Approved by: Robert Mustacchi --- usr/src/cmd/sgs/elfdump/common/struct_layout_sparc.c | 12 ++++++------ usr/src/cmd/sgs/elfdump/common/struct_layout_sparcv9.c | 2 -- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/usr/src/cmd/sgs/elfdump/common/struct_layout_sparc.c b/usr/src/cmd/sgs/elfdump/common/struct_layout_sparc.c index b3d1c34f26..94760c3d82 100644 --- a/usr/src/cmd/sgs/elfdump/common/struct_layout_sparc.c +++ b/usr/src/cmd/sgs/elfdump/common/struct_layout_sparc.c @@ -377,12 +377,12 @@ static const sl_prfdinfo_layout_t prfdinfo_layout = { static const sl_prsecflags_layout_t prsecflags_layout = { - { 0, 40, 0, 0 }, /* sizeof (prsecflags_t) */ - { 0, 4, 0, 0 }, /* pr_version */ - { 8, 8, 0, 0 }, /* pr_effective */ - { 16, 8, 0, 0 }, /* pr_inherit */ - { 24, 8, 0, 0 }, /* pr_lower */ - { 32, 8, 0, 0 }, /* pr_upper */ + { 0, 40, 0, 0 }, /* sizeof (prsecflags_t) */ + { 0, 4, 0, 0 }, /* pr_version */ + { 8, 8, 0, 0 }, /* pr_effective */ + { 16, 8, 0, 0 }, /* pr_inherit */ + { 24, 8, 0, 0 }, /* pr_lower */ + { 32, 8, 0, 0 }, /* pr_upper */ }; diff --git a/usr/src/cmd/sgs/elfdump/common/struct_layout_sparcv9.c b/usr/src/cmd/sgs/elfdump/common/struct_layout_sparcv9.c index d068f148c2..a194d8136a 100644 --- a/usr/src/cmd/sgs/elfdump/common/struct_layout_sparcv9.c +++ b/usr/src/cmd/sgs/elfdump/common/struct_layout_sparcv9.c @@ -414,8 +414,6 @@ static const sl_arch_layout_t layout_sparcv9 = { }; - - const sl_arch_layout_t * struct_layout_sparcv9(void) { -- 2.11.4.GIT