]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/emultempl/aarch64elf.em
ELF: Call check_relocs after opening all inputs
[thirdparty/binutils-gdb.git] / ld / emultempl / aarch64elf.em
index 3007e4d581c6c91220789226a6f1bba6346154fe..f1a3a480d8a95dacddd7fc0ffb145c1d87dd937f 100644 (file)
@@ -43,6 +43,7 @@ gld${EMULATION_NAME}_before_parse (void)
   input_flags.dynamic = ${DYNAMIC_LINK-TRUE};
   config.has_shared = `if test -n "$GENERATE_SHLIB_SCRIPT" ; then echo TRUE ; else echo FALSE ; fi`;
   config.separate_code = `if test "x${SEPARATE_CODE}" = xyes ; then echo TRUE ; else echo FALSE ; fi`;
+  link_info.check_relocs_after_open_input = TRUE;
   link_info.relro = DEFAULT_LD_Z_RELRO;
 }