#!/bin/sh | |
# Copyright 2019 The Chromium OS Authors. All rights reserved. | |
# 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 | |
exec "$(dirname "$(readlink -f "$0")")"/ld.lld -z now -z relro --no-rosegment --hash-style=gnu "$@" |