blob: 7097c14ee09e193c845208760d14432b43a57a5a [file] [log] [blame]
#!/bin/sh
# Copyright 2019 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This files wraps lld.
# Enable now, relro and hash-style=gnu to match gold host wrapper.
# Enable norosegment to match gold host and target wrapper, for symbolization. b/140622025
# Pass --undefined-version (b/263147806).
exec "$(dirname "$(readlink -f "$0")")"/ld.lld -z now -z relro --no-rosegment --undefined-version --hash-style=gnu "$@"