diff options
author | Ulf Carlsson <ulfc@engr.sgi.com> | 2000-07-23 20:51:35 +0000 |
---|---|---|
committer | Ulf Carlsson <ulfc@engr.sgi.com> | 2000-07-23 20:51:35 +0000 |
commit | 0ffaacb48023cf42b45a5113c0cbdbe7b004abcc (patch) | |
tree | f1358569300bc71590ac512fa58873d7f9377ca4 /bfd | |
parent | ba72e8fe3f6ff3d3b7f37f5ff289150a3523ba40 (diff) | |
download | gdb-0ffaacb48023cf42b45a5113c0cbdbe7b004abcc.tar.gz |
2000-07-23 Ulf Carlsson <ulfc@engr.sgi.com>
* elf32-mips.c (_bfd_mips_elf_check_relocs): Use abfd instead
of dynobj for SGI_COMPAT checks.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rw-r--r-- | bfd/elf32-mips.c | 4 |
2 files changed, 8 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 52b30aeaafb..a3fe8a09356 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2000-07-23 Ulf Carlsson <ulfc@engr.sgi.com> + + * elf32-mips.c (_bfd_mips_elf_check_relocs): Use abfd instead + of dynobj for SGI_COMPAT checks. + 2000-07-27 Michael Sokolov <msokolov@ivan.Harhan.ORG> * coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): New function. @@ -122,7 +127,7 @@ Tue Jul 18 13:11:54 2000 Andrew Cagney <cagney@b1.cygnus.com> 2000-07-18 Ulf Carlsson <ulfc@engr.sgi.com> * elf32-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Add - paranthesis in if statement. + parenthesis in if statement. 2000-07-17 Koundinya K <kk@ddeorg.soft.net> diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index f6a60baa56e..5ab839e06cd 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -7757,7 +7757,7 @@ _bfd_mips_elf_check_relocs (abfd, info, sec, relocs) return false; } - if (SGI_COMPAT (dynobj)) + if (SGI_COMPAT (abfd)) mips_elf_hash_table (info)->compact_rel_size += sizeof (Elf32_External_crinfo); break; @@ -7766,7 +7766,7 @@ _bfd_mips_elf_check_relocs (abfd, info, sec, relocs) case R_MIPS_GPREL16: case R_MIPS_LITERAL: case R_MIPS_GPREL32: - if (SGI_COMPAT (dynobj)) + if (SGI_COMPAT (abfd)) mips_elf_hash_table (info)->compact_rel_size += sizeof (Elf32_External_crinfo); break; |