Module Name: src Committed By: riastradh Date: Mon Jul 22 02:34:59 UTC 2024
Modified Files: src/tests/libexec/ld.elf_so: Makefile Log Message: tests/libexec/ld.elf_so/t_ifunc: Handle MKRELRO=no harder. Don't even pass -Wl,-z,norelro if MKRELRO=no, because the toolchain's ld(1) might not support relro _or_ norelro. Should resolve, e.g.: /home/builds/ab/HEAD-llvm/evbarm-earmv7hf/202407182350Z-tools/bin/armv7--netbsdelf-eabihf-ld: warning: -z norelro ignored armv7--netbsdelf-eabihf-clang: error: linker command failed with exit code 1 (use -v to see invocation) --- t_ifunc_norelro --- *** Failed target: t_ifunc_norelro *** In directory: /home/source/ab/HEAD-llvm/src/tests/libexec/ld.elf_so *** Failed commands: ${_MKTARGET_LINK} ... To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/tests/libexec/ld.elf_so/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.