summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2021-12-03 14:29:49 -0600
committerRichard Lowe <richlowe@richlowe.net>2021-12-14 12:46:07 -0600
commit532883ab3269bdf14c55e45838bc9ae275d70ed5 (patch)
tree7ae90c4a10c062e4e166fbccaaaa68b8bc5f80ee /usr/src
parent0910f6b57d8ca5550c60180007b9cdeaabc88f1b (diff)
downloadillumos-joyent-532883ab3269bdf14c55e45838bc9ae275d70ed5.tar.gz
14285 check_rtime should recommend -fpic not -Kpic
Reviewed by: Gordon Ross <Gordon.W.Ross@gmail.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/tools/scripts/check_rtime.1onbld2
-rw-r--r--usr/src/tools/scripts/check_rtime.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/tools/scripts/check_rtime.1onbld b/usr/src/tools/scripts/check_rtime.1onbld
index a965f98cde..bd18cbae79 100644
--- a/usr/src/tools/scripts/check_rtime.1onbld
+++ b/usr/src/tools/scripts/check_rtime.1onbld
@@ -229,7 +229,7 @@ rules from
is the typical reason for having non-pic code in shared objects.
Text relocations are displayed as:
.Pp
-.Dl foo: TEXTREL .dynamic tag <no -Kpic?>
+.Dl foo: TEXTREL .dynamic tag <no -fpic?>
.It
Debugging information is unnecessary in released objects.
Although extensive when compiled
diff --git a/usr/src/tools/scripts/check_rtime.pl b/usr/src/tools/scripts/check_rtime.pl
index 12d805675f..5abbd490d3 100644
--- a/usr/src/tools/scripts/check_rtime.pl
+++ b/usr/src/tools/scripts/check_rtime.pl
@@ -560,7 +560,7 @@ ELF: foreach my $Line (@Elf) {
next ELF;
}
onbld_elfmod::OutMsg($ErrFH, $ErrTtl, $RelPath,
- "TEXTREL .dynamic tag\t\t\t<no -Kpic?>");
+ "TEXTREL .dynamic tag\t\t\t<no -fpic?>");
$Tex = 0;
next;
}