Simplify --sysroot=/
authorAlan Modra <amodra@gmail.com>
Mon, 29 Oct 2018 07:39:39 +0000 (18:09 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 29 Oct 2018 07:51:05 +0000 (18:21 +1030)
commit55d5520ae35a2b0ce788bd6d43dd619043e887f7
tree0314724392e129e42a5fb3ea0fdb19182080555b
parent8d1015a887c18c363d9bd707b13348daf4e5f556
Simplify --sysroot=/

Prepending '/' to absolute paths doesn't gain us much, and results in
the current implementation of --trace emitting silly path-in-sysroot
output, eg.
/lib/ld-linux-x86-64.so.2 (//lib/ld-linux-x86-64.so.2)

* ldmain.c (get_sysroot): Return "" for "--sysroot=/".
ld/ChangeLog
ld/ldmain.c
This page took 0.025294 seconds and 4 git commands to generate.