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 /bfd/elf32-m32r.c | |
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 'bfd/elf32-m32r.c')
-rw-r--r-- | bfd/elf32-m32r.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elf32-m32r.c b/bfd/elf32-m32r.c index 4f0159f..b7609e0 100644 --- a/bfd/elf32-m32r.c +++ b/bfd/elf32-m32r.c @@ -2627,7 +2627,7 @@ m32r_elf_relocate_section (output_bfd, info, input_bfd, input_section, howto = m32r_elf_howto_table + r_type; r_symndx = ELF32_R_SYM (rel->r_info); - if (info->relocatable && (use_rel == TRUE)) + if (info->relocatable && use_rel) { /* This is a relocatable link. We don't have to change anything, unless the reloc is against a section symbol, @@ -2703,7 +2703,7 @@ m32r_elf_relocate_section (output_bfd, info, input_bfd, input_section, sec = local_sections[r_symndx]; sym_name = "<local symbol>"; - if (use_rel == FALSE) + if (!use_rel) { relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel); addend = rel->r_addend; @@ -2730,7 +2730,7 @@ m32r_elf_relocate_section (output_bfd, info, input_bfd, input_section, else { /* External symbol. */ - if (info->relocatable && (use_rel == FALSE)) + if (info->relocatable && !use_rel) continue; h = sym_hashes[r_symndx - symtab_hdr->sh_info]; |