aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-08-25 23:40:56 +0000
committerAlan Modra <amodra@gmail.com>2004-08-25 23:40:56 +0000
commit688c58f35962720830fd4058e449caa70e35416d (patch)
tree678bfd58ffba02b1ecc0694bfd704bd2de11ced5 /ld/ldlang.c
parent3e95eabc2c04c4a0a2a8544fd822597bfd5688a7 (diff)
downloadgdb-688c58f35962720830fd4058e449caa70e35416d.zip
gdb-688c58f35962720830fd4058e449caa70e35416d.tar.gz
gdb-688c58f35962720830fd4058e449caa70e35416d.tar.bz2
bfd/
* elf32-m32r.c (m32r_elf_relocate_section): Don't compare with TRUE or FALSE. ld/ * ldlang.c (lang_init): Don't compare with TRUE.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index fc95ee8..5988635 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -506,8 +506,8 @@ lang_init (void)
simpler to re-use working machinery than using a linked list in terms
of code-complexity here in ld, besides the initialization which just
looks like other code here. */
- if (bfd_hash_table_init_n (&lang_definedness_table,
- lang_definedness_newfunc, 3) != TRUE)
+ if (!bfd_hash_table_init_n (&lang_definedness_table,
+ lang_definedness_newfunc, 3))
einfo (_("%P%F: out of memory during initialization"));
/* Callers of exp_fold_tree need to increment this. */