OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [bfd/] [elf-m10300.c] - Diff between revs 148 and 163

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 148 Rev 163
Line 1497... Line 1497...
            /* In these cases, we don't need the relocation
            /* In these cases, we don't need the relocation
               value.  We check specially because in some
               value.  We check specially because in some
               obscure cases sec->output_section will be NULL.  */
               obscure cases sec->output_section will be NULL.  */
            relocation = 0;
            relocation = 0;
 
 
          else if (!info->relocatable && unresolved_reloc)
          else if (!info->relocatable && unresolved_reloc
 
                   && _bfd_elf_section_offset (output_bfd, info, input_section,
 
                                               rel->r_offset) != (bfd_vma) -1)
 
 
            (*_bfd_error_handler)
            (*_bfd_error_handler)
              (_("%B(%A+0x%lx): unresolvable %s relocation against symbol `%s'"),
              (_("%B(%A+0x%lx): unresolvable %s relocation against symbol `%s'"),
               input_bfd,
               input_bfd,
               input_section,
               input_section,
               (long) rel->r_offset,
               (long) rel->r_offset,
Line 3599... Line 3602...
                       in a signed 16bit value.  */
                       in a signed 16bit value.  */
                    if (code == 0xcc
                    if (code == 0xcc
                        && (value & 0x8000))
                        && (value & 0x8000))
                      continue;
                      continue;
 
 
                    /* mov imm16, an zero-extends the immediate.  */
                    /* "mov imm16, an" zero-extends the immediate.  */
                    if (code == 0xdc
                    if ((code & 0xfc) == 0xdc
                        && (long) value < 0)
                        && (long) value < 0)
                      continue;
                      continue;
 
 
                    /* Note that we've changed the relocation contents, etc.  */
                    /* Note that we've changed the relocation contents, etc.  */
                    elf_section_data (sec)->relocs = internal_relocs;
                    elf_section_data (sec)->relocs = internal_relocs;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.