URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
Subversion Repositories open8_urisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 164 to Rev 165
- ↔ Reverse comparison
Rev 164 → Rev 165
/open8_urisc/trunk/gnu/binutils/gas/config/tc-open8.c
750,7 → 750,9
md_apply_fix (fixS *fixP, valueT * valP, segT seg) |
{ |
unsigned char *where; |
#if 0 |
unsigned long insn; |
#endif |
long value = *valP; |
|
if (fixP->fx_addsy == (symbolS *) NULL) |
787,8 → 789,9
/* Fetch the instruction, insert the fully resolved operand |
value, and stuff the instruction back again. */ |
where = (unsigned char *) fixP->fx_frag->fr_literal + fixP->fx_where; |
#if 0 |
insn = bfd_getl16 (where); |
|
#endif |
switch (fixP->fx_r_type) |
{ |
case BFD_RELOC_32: |
/open8_urisc/trunk/gnu/binutils/bfd/elf32-open8.c
486,8 → 486,7
{ |
case R_OPEN8_PCREL: |
contents += rel->r_offset; |
srel = (bfd_signed_vma) relocation; |
srel += rel->r_addend; |
srel = rel->r_addend - reloc_addr; |
|
if (srel > ((1 << 8) - 1) || (srel < - (1 << 7))) |
return bfd_reloc_overflow; |
1962,7 → 1961,7
irelaend = irela + section->reloc_count; |
for (; irela < irelaend; irela++) |
{ |
unsigned int r_type, r_indx; |
unsigned int r_indx; |
struct elf32_open8_stub_hash_entry *hsh; |
asection *sym_sec; |
bfd_vma sym_value; |
1970,7 → 1969,6
struct elf_link_hash_entry *hh; |
char *stub_name; |
|
r_type = ELF32_R_TYPE (irela->r_info); |
r_indx = ELF32_R_SYM (irela->r_info); |
|
/* Now determine the call target, its name, value, |