mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
90c8c29f23
Elfhack is the main reason we're not using lld on Linux/Android shippable builds, because the way it works doesn't go well with how lld lays out ELF binaries. By leveraging the linker itself (BFD and lld both having recently gained the ability to generate the compact relocation info themselves), we can achieve a similar result to what elfhack is doing, while allowing to use lld. See more in-depth background on https://glandium.org/blog/?p=4297 Differential Revision: https://phabricator.services.mozilla.com/D187089
13 lines
411 B
Python
13 lines
411 B
Python
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
if CONFIG["USE_ELF_HACK"] or CONFIG["RELRHACK"]:
|
|
DIRS += ["elfhack"]
|
|
|
|
FINAL_TARGET_FILES += [
|
|
"run-mozilla.sh",
|
|
]
|