1 From 4c147afe1796611c431aa86ea12342c1d80c2c4b Mon Sep 17 00:00:00 2001
2 From: "Maciej W. Rozycki" <macro@linux-mips.org>
3 Date: Wed, 1 May 2013 17:18:43 +0000
4 Subject: [PATCH] * emultempl/elf32.em
5 (gld${EMULATION_NAME}_before_allocation): Use
6 is_elf_hash_table rather than a handcoded condition.
10 ld/emultempl/elf32.em | 2 +-
11 2 files changed, 6 insertions(+), 1 deletion(-)
13 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
15 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
16 Use is_elf_hash_table rather than a handcoded condition.
18 Upstream-Status: Backport
19 Index: binutils-2.23.2/ld/emultempl/elf32.em
20 ===================================================================
21 --- binutils-2.23.2.orig/ld/emultempl/elf32.em 2013-06-26 23:29:32.000000000 -0700
22 +++ binutils-2.23.2/ld/emultempl/elf32.em 2013-06-26 23:35:45.798428256 -0700
27 - if (link_info.hash->type == bfd_link_elf_hash_table)
28 + if (is_elf_hash_table (link_info.hash))
29 _bfd_elf_tls_setup (link_info.output_bfd, &link_info);
31 /* If we are going to make any variable assignments, we need to let