aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/elf32.em
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-12-01 06:28:56 +0000
committerAlan Modra <amodra@gmail.com>2003-12-01 06:28:56 +0000
commitfd574c4615e74de554c78fd2c42f368f0cbc7905 (patch)
treeb4785f9d2aae4b4a2575902ba6fb58d3e6b613a5 /ld/emultempl/elf32.em
parent0eddce27a9195929e73ce37c4bd1914b3b88118b (diff)
downloadfsf-binutils-gdb-fd574c4615e74de554c78fd2c42f368f0cbc7905.zip
fsf-binutils-gdb-fd574c4615e74de554c78fd2c42f368f0cbc7905.tar.gz
fsf-binutils-gdb-fd574c4615e74de554c78fd2c42f368f0cbc7905.tar.bz2
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Test
hash table type rather than testing creator flavour. * emultempl/hppaelf.em (hppaelf_create_output_section_statements): Only create stub_file bfd if hash table creator is as expected. (gld${EMULATION_NAME}_finish): Test stub_file.
Diffstat (limited to 'ld/emultempl/elf32.em')
-rw-r--r--ld/emultempl/elf32.em2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
index 6e1f815..c386be8 100644
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
@@ -845,7 +845,7 @@ gld${EMULATION_NAME}_before_allocation (void)
const char *rpath;
asection *sinterp;
- if (link_info.hash->creator->flavour == bfd_target_elf_flavour)
+ if (link_info.hash->type == bfd_link_elf_hash_table)
_bfd_elf_tls_setup (output_bfd, &link_info);
/* If we are going to make any variable assignments, we need to let