Bug 1518703 - Remove R_386_PC32 check. r=froydnj,ted

The test is actually redundant with the TEXTREL check in
check_binary.py (R_386_PC32 relocations will only happen as text
relocations)

Differential Revision: https://phabricator.services.mozilla.com/D16002

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mike Hommey 2019-01-10 00:07:53 +00:00
Родитель b2e6afc9ac
Коммит e489736f60
1 изменённых файлов: 0 добавлений и 7 удалений

Просмотреть файл

@ -292,13 +292,6 @@ endif # NO_PROFILE_GUIDED_OPTIMIZE
.PHONY: maybe_clobber_profiledbuild
# Look for R_386_PC32 relocations in shared libs, these
# break x86_64 builds and SELinux users.
ifeq ($(OS_TARGET)_$(TARGET_XPCOM_ABI),Linux_x86-gcc3)
check::
@relcount=`find $(DIST)/bin -name '*.so' | xargs objdump -R | grep R_386_PC32 | wc -l` && if test $$relcount -gt 0; then echo 'FAILED: R_386_PC32 relocations detected in a shared library. Did you use a system header without adding it to config/system-headers?'; exit 1; else echo 'PASSED'; fi
endif
ifdef JS_STANDALONE
# Delegate js-specific rules to js
check-%: