Correct last entry: s/SYMBOL/TABLE_/
[deliverable/binutils-gdb.git] / bfd / elf32-or32.c
index 65f8e2617d3fb2055e30a0895aa243c59fac819c..14195202d2055d2a52c9ed506f3d43fadc75084c 100644 (file)
@@ -1,5 +1,5 @@
 /* OR32-specific support for 32-bit ELF
-   Copyright 2002 Free Software Foundation, Inc.
+   Copyright 2002, 2004 Free Software Foundation, Inc.
    Contributed by Ivan Guzvinec  <ivang@opencores.org>
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -417,7 +417,7 @@ or32_elf_consth_reloc (abfd, reloc_entry, symbol, data, input_section,
   relocation += symbol->section->output_offset;
   relocation += reloc_entry->addend;
 
-  if (reloc_entry->address > input_section->_cooked_size)
+  if (reloc_entry->address > bfd_get_section_limit (abfd, input_section))
     return bfd_reloc_outofrange;
 
   /* Save the information, and let LO16 do the actual relocation.  */
This page took 0.023322 seconds and 4 git commands to generate.