1999-05-24 Philip Blundell <philb@gnu.org>
authorNick Clifton <nickc@redhat.com>
Mon, 24 May 1999 12:49:30 +0000 (12:49 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 24 May 1999 12:49:30 +0000 (12:49 +0000)
* 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

ld/ChangeLog
ld/emulparams/armelf.sh
ld/emulparams/armelf_linux.sh
ld/emultempl/armelf.em

index 360c84dc2ca056f88e74396a4baff074b0d57c6a..547c0a9327f54a41c49c4de70fe438e2ddea4070 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 1999-04-13  Philip Blundell  <philb@gnu.org>
 
        * emultempl/armelf.em: Add definitions related to shared objects
index 2b8b02bec819b6fae1346ac7b2bf06ab31f68c1d..a184b5e9aba99ffcbdd6ee3f89ed1a524da90e72 100644 (file)
@@ -9,6 +9,7 @@ OTHER_TEXT_SECTIONS='*(.glue_7t) *(.glue_7)'
 OTHER_BSS_SYMBOLS='__bss_start__ = .;'
 OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ;'
 
+GENERATE_SHLIB_SCRIPT=yes
 
 ARCH=arm
 MACHINE=
index 2d7d57bed25e2c165ad5aeb2584714a35f6cfd3d..a0d740b23182dc048472229521b3e234dfd07bc7 100644 (file)
@@ -6,6 +6,8 @@ LITTLE_OUTPUT_FORMAT="elf32-littlearm"
 MAXPAGESIZE=0x8000
 TEMPLATE_NAME=armelf
 
+GENERATE_SHLIB_SCRIPT=yes
+
 OTHER_TEXT_SECTIONS='*(.glue_7t) *(.glue_7)'
 OTHER_BSS_SYMBOLS='__bss_start__ = .;'
 OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ;'
index cfb8e671c33e63b013884d661bfafbf2d2bf487a..03f7acad2546a8d006241bad2e84610ae60264f3 100644 (file)
@@ -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