diff options
author | Alan Modra <amodra@gmail.com> | 2004-08-25 23:40:56 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-08-25 23:40:56 +0000 |
commit | 688c58f35962720830fd4058e449caa70e35416d (patch) | |
tree | 678bfd58ffba02b1ecc0694bfd704bd2de11ced5 /ld | |
parent | 3e95eabc2c04c4a0a2a8544fd822597bfd5688a7 (diff) | |
download | gdb-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')
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/ldlang.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 413deac..a8ec650 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2004-08-26 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (lang_init): Don't compare with TRUE. + 2004-08-25 Dmitry Diky <diwil@spec.ru> * emulparams/msp430all.sh: Fix RAM sizes for all targets. 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. */ |