aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-05-24 12:49:30 +0000
committerNick Clifton <nickc@redhat.com>1999-05-24 12:49:30 +0000
commit31ce062864f98cd5a1df7cda7e975dbccc13bf26 (patch)
treee500a9de09834513ccdf9e4db94370c26669d86f /ld/emultempl
parentdb65e864b3e882f60bc0e7d78e2a4018e0b3f283 (diff)
downloadgdb-31ce062864f98cd5a1df7cda7e975dbccc13bf26.zip
gdb-31ce062864f98cd5a1df7cda7e975dbccc13bf26.tar.gz
gdb-31ce062864f98cd5a1df7cda7e975dbccc13bf26.tar.bz2
1999-05-24 Philip Blundell <philb@gnu.org>
* emultempl/armelf.em (before_parse): Set config.dynamic_link and config.has_shared. * emulparams/armelf.sh (GENERATE_SHLIB_SCRIPT): Define. * emulparams/armelf_linux.sh (GENERATE_SHLIB_SCRIPT): Likewise
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/armelf.em2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/emultempl/armelf.em b/ld/emultempl/armelf.em
index cfb8e67..03f7aca 100644
--- a/ld/emultempl/armelf.em
+++ b/ld/emultempl/armelf.em
@@ -70,6 +70,8 @@ gld${EMULATION_NAME}_before_parse ()
#ifndef TARGET_ /* I.e., if not generic. */
ldfile_set_output_arch ("`echo ${ARCH}`");
#endif /* not TARGET_ */
+ config.dynamic_link = ${DYNAMIC_LINK-true};
+ config.has_shared = `if test -n "$GENERATE_SHLIB_SCRIPT" ; then echo true ; else echo false ; fi`;
}
/* Try to open a dynamic archive. This is where we know that ELF