summaryrefslogtreecommitdiff
path: root/usr/src/tools/scripts
diff options
context:
space:
mode:
authorPatrick Mooney <pmooney@pfmooney.com>2017-10-10 12:37:29 +0200
committerPatrick Mooney <pmooney@pfmooney.com>2020-05-15 18:37:56 +0000
commit4c87aefe8930bd07275b8dd2e96ea5f24d93a52e (patch)
tree8763eb97971828355c999f954f5fd7b14218dfed /usr/src/tools/scripts
parenta68aefedafdc78f1f25e9c888f61357d59c87311 (diff)
downloadillumos-gate-4c87aefe8930bd07275b8dd2e96ea5f24d93a52e.tar.gz
12665 want modern bhyve
Portions contributed by: Hans Rosenfeld <hans.rosenfeld@joyent.com> Portions contributed by: John Levon <john.levon@joyent.com> Portions contributed by: Mike Gerdts <mike.gerdts@joyent.com> Portions contributed by: Andy Fiddaman <omnios@citrus-it.co.uk> Portions contributed by: Dominik Hassler <hadfl@omniosce.org> Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Portions contributed by: Robert Mustacchi <rm@joyent.com> Portions contributed by: Mike Zeller <mike.zeller@joyent.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/tools/scripts')
-rw-r--r--usr/src/tools/scripts/build_cscope.conf4
-rw-r--r--usr/src/tools/scripts/gensetdefs.pl31
2 files changed, 2 insertions, 33 deletions
diff --git a/usr/src/tools/scripts/build_cscope.conf b/usr/src/tools/scripts/build_cscope.conf
index 859b5137d6..298db1281b 100644
--- a/usr/src/tools/scripts/build_cscope.conf
+++ b/usr/src/tools/scripts/build_cscope.conf
@@ -22,8 +22,8 @@
#
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
+# Copyright 2018 Joyent, Inc.
#
-# ident "%Z%%M% %I% %E% SMI"
#
# This file configures the set of cross-references built by build_cscope.
# The format is:
@@ -35,6 +35,6 @@
# directories.
#
-complete -f .
+complete "" .
uts "" uts uts/sun4u uts/sun4v uts/i86pc
psm "" psm/stand psm/stand/boot psm/stand/boot/sparcv9/sun4u psm/stand/boot/sparcv9/sun4v
diff --git a/usr/src/tools/scripts/gensetdefs.pl b/usr/src/tools/scripts/gensetdefs.pl
deleted file mode 100644
index 8ca5782feb..0000000000
--- a/usr/src/tools/scripts/gensetdefs.pl
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/perl -w
-#
-# COPYRIGHT 2013 Pluribus Networks Inc.
-#
-# All rights reserved. This copyright notice is Copyright Management
-# Information under 17 USC 1202 and is included to protect this work and
-# deter copyright infringement. Removal or alteration of this Copyright
-# Management Information without the express written permission from
-# Pluribus Networks Inc is prohibited, and any such unauthorized removal
-# or alteration will be a violation of federal law.
-
-use strict;
-
-my @Sections = split(/\n/, `elfedit -r -e \'shdr:sh_name -osimple\' $ARGV[0] 2>&1`);
-
-foreach my $Section (@Sections) {
- if ($Section =~ "^set_") {
- print "\tfixing $Section\n";
-
- chomp(my $SectionAddr = `elfedit -r -e \'shdr:sh_addr -onum $Section\' $ARGV[0] 2>&1`);
- chomp(my $SectionSize = `elfedit -r -e \'shdr:sh_size -onum $Section\' $ARGV[0] 2>&1`);
- my $SectionEnd = hex($SectionAddr) + hex($SectionSize);
-
- `elfedit -e \'sym:st_bind __start_$Section global\' $ARGV[0] 2>&1`;
- `elfedit -e \'sym:st_value __start_$Section $SectionAddr\' $ARGV[0] 2>&1`;
- `elfedit -e \'sym:st_shndx __start_$Section $Section\' $ARGV[0] 2>&1`;
- `elfedit -e \'sym:st_bind __stop_$Section global\' $ARGV[0] 2>&1`;
- `elfedit -e \'sym:st_value __stop_$Section $SectionEnd\' $ARGV[0] 2>&1`;
- `elfedit -e \'sym:st_shndx __stop_$Section $Section\' $ARGV[0] 2>&1`;
- }
-}