aboutsummaryrefslogtreecommitdiff
path: root/ld/ldelf.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-01-29 10:25:58 +1030
committerAlan Modra <amodra@gmail.com>2020-01-29 10:39:20 +1030
commitef8f08ca13f6c111cc549a3e13be5c5e2d95ca82 (patch)
treebd5e903baff326193a2e3f173f3a368a3e372bf7 /ld/ldelf.h
parente667c15c4895d419eb19068090c851110a0aeaaf (diff)
downloadgdb-ef8f08ca13f6c111cc549a3e13be5c5e2d95ca82.zip
gdb-ef8f08ca13f6c111cc549a3e13be5c5e2d95ca82.tar.gz
gdb-ef8f08ca13f6c111cc549a3e13be5c5e2d95ca82.tar.bz2
PR25477, ld 2.34 tries to load ${prefix}/etc/ld.so.conf
PR 25477 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and correct concat. (ldelf_after_open): Add prefix parameter. * ldelf.h (ldelf_after_open): Update prototype. * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix to ldelf_after_open. * Makefile.am: Correct z80 dependencies. * Makefile.in: Regenerate.
Diffstat (limited to 'ld/ldelf.h')
-rw-r--r--ld/ldelf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldelf.h b/ld/ldelf.h
index baf5183..492649b 100644
--- a/ld/ldelf.h
+++ b/ld/ldelf.h
@@ -22,7 +22,7 @@ extern const char *ldelf_emit_note_gnu_build_id;
extern void ldelf_after_parse (void);
extern bfd_boolean ldelf_load_symbols (lang_input_statement_type *);
-extern void ldelf_after_open (int, int, int, int, int);
+extern void ldelf_after_open (int, int, int, int, int, const char *);
extern bfd_boolean ldelf_setup_build_id (bfd *);
extern void ldelf_append_to_separated_string (char **, char *);
extern void ldelf_before_allocation (char *, char *, const char *);