Commit 74b0cb5b authored by Daniel Nicoara's avatar Daniel Nicoara Committed by Commit Bot

Remove dead-reloc-in-nonalloc LD flags

Breakpad change landed. Revert workaround.

Bug: 1105559
Test: components/crash/content/tools/generate_breakpad_symbols.py --build-dir=out/andrd --binary=out/andrd/lib.unstripped/libcontent_shell_content_view.so --symbols-dir=/tmp/foo --platform=android
Change-Id: I519534002898a97b15a57b9b87ac78ef3f216dee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2427349
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#810066}
parent 75206f40
...@@ -396,14 +396,6 @@ config("compiler") { ...@@ -396,14 +396,6 @@ config("compiler") {
"-Wl,--as-needed", "-Wl,--as-needed",
] ]
} }
if (use_lld && !is_chromeos_device) {
# TODO(thakis): Fix dump_syms to not need this and then remove it,
# https://crbug.com/1105559
ldflags += [
"-Wl,-z,dead-reloc-in-nonalloc=*=0",
"-Wl,-z,dead-reloc-in-nonalloc=.debug_ranges=1",
]
}
} }
# Linux-specific compiler flags setup. # Linux-specific compiler flags setup.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment