summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlaf Bohlen <olbohlen@eenfach.de>2017-01-05 20:41:42 +0100
committerRobert Mustacchi <rm@joyent.com>2017-01-10 15:05:47 -0800
commit28b83f21b6f708fcc61937fcc89194e3e5e2b295 (patch)
tree2346d87e4292443b638eefdc34f080907bfb9315
parent0761b1e6f15f85a8689a952d8aa7d8a1c0d949f7 (diff)
downloadillumos-joyent-28b83f21b6f708fcc61937fcc89194e3e5e2b295.tar.gz
7527 elfdump: sparc build failed after secflags integration
Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@joyent.com>
-rw-r--r--usr/src/cmd/sgs/elfdump/common/struct_layout_sparc.c12
-rw-r--r--usr/src/cmd/sgs/elfdump/common/struct_layout_sparcv9.c2
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)
{