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.
This commit is contained in:
parent
3e95eabc2c
commit
688c58f359
4 changed files with 14 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-08-26 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* elf32-m32r.c (m32r_elf_relocate_section): Don't compare with
|
||||||
|
TRUE or FALSE.
|
||||||
|
|
||||||
2004-08-26 Alan Modra <amodra@bigpond.net.au>
|
2004-08-26 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* elf32-i386.c (elf_i386_relocate_section): Tweak last change so
|
* elf32-i386.c (elf_i386_relocate_section): Tweak last change so
|
||||||
|
|
|
@ -2627,7 +2627,7 @@ m32r_elf_relocate_section (output_bfd, info, input_bfd, input_section,
|
||||||
howto = m32r_elf_howto_table + r_type;
|
howto = m32r_elf_howto_table + r_type;
|
||||||
r_symndx = ELF32_R_SYM (rel->r_info);
|
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
|
/* This is a relocatable link. We don't have to change
|
||||||
anything, unless the reloc is against a section symbol,
|
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];
|
sec = local_sections[r_symndx];
|
||||||
sym_name = "<local symbol>";
|
sym_name = "<local symbol>";
|
||||||
|
|
||||||
if (use_rel == FALSE)
|
if (!use_rel)
|
||||||
{
|
{
|
||||||
relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel);
|
relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel);
|
||||||
addend = rel->r_addend;
|
addend = rel->r_addend;
|
||||||
|
@ -2730,7 +2730,7 @@ m32r_elf_relocate_section (output_bfd, info, input_bfd, input_section,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* External symbol. */
|
/* External symbol. */
|
||||||
if (info->relocatable && (use_rel == FALSE))
|
if (info->relocatable && !use_rel)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
h = sym_hashes[r_symndx - symtab_hdr->sh_info];
|
h = sym_hashes[r_symndx - symtab_hdr->sh_info];
|
||||||
|
|
|
@ -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>
|
2004-08-25 Dmitry Diky <diwil@spec.ru>
|
||||||
|
|
||||||
* emulparams/msp430all.sh: Fix RAM sizes for all targets.
|
* emulparams/msp430all.sh: Fix RAM sizes for all targets.
|
||||||
|
|
|
@ -506,8 +506,8 @@ lang_init (void)
|
||||||
simpler to re-use working machinery than using a linked list in terms
|
simpler to re-use working machinery than using a linked list in terms
|
||||||
of code-complexity here in ld, besides the initialization which just
|
of code-complexity here in ld, besides the initialization which just
|
||||||
looks like other code here. */
|
looks like other code here. */
|
||||||
if (bfd_hash_table_init_n (&lang_definedness_table,
|
if (!bfd_hash_table_init_n (&lang_definedness_table,
|
||||||
lang_definedness_newfunc, 3) != TRUE)
|
lang_definedness_newfunc, 3))
|
||||||
einfo (_("%P%F: out of memory during initialization"));
|
einfo (_("%P%F: out of memory during initialization"));
|
||||||
|
|
||||||
/* Callers of exp_fold_tree need to increment this. */
|
/* Callers of exp_fold_tree need to increment this. */
|
||||||
|
|
Loading…
Reference in a new issue