--- chromium-80.0.3987.122/tools/v8_context_snapshot/BUILD.gn.orig 2020-03-07 00:31:35.460144549 +0100 +++ chromium-80.0.3987.122/tools/v8_context_snapshot/BUILD.gn 2020-03-07 02:22:49.245058034 +0100 @@ -97,7 +97,10 @@ if (is_win) { ldflags = [ "/OPT:NOICF" ] # link.exe, but also lld-link.exe. } else if (use_gold || use_lld) { - ldflags = [ "-Wl,--icf=none" ] + ldflags = [ + "-Wl,--icf=none", + "-Wl,-z,notext", + ] } } --- chromium-80.0.3987.122/chrome/BUILD.gn.orig 2020-03-07 02:32:07.805071147 +0100 +++ chromium-80.0.3987.122/chrome/BUILD.gn 2020-03-07 02:33:11.886219915 +0100 @@ -306,7 +306,7 @@ "//chrome/common:buildflags", ] - ldflags = [] + ldflags = [ "-Wl,-z,notext" ] # Chrome OS debug builds for arm need to pass --long-plt to the linker. # See https://bugs.chromium.org/p/chromium/issues/detail?id=583532