projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
opcodes/
[deliverable/binutils-gdb.git]
/
bfd
/
elf32-avr.c
diff --git
a/bfd/elf32-avr.c
b/bfd/elf32-avr.c
index 582cdaee9fab170f1a9a147a1899d1b3b65f543a..857a4b7f41cea9f151c00de62d93656956efc6ca 100644
(file)
--- a/
bfd/elf32-avr.c
+++ b/
bfd/elf32-avr.c
@@
-545,8
+545,8
@@
static reloc_howto_type elf_avr_howto_table[] =
0xffffff, /* src_mask */
0xffffff, /* dst_mask */
FALSE), /* pcrel_offset */
0xffffff, /* src_mask */
0xffffff, /* dst_mask */
FALSE), /* pcrel_offset */
- /* h
hi8-part to use in .byte hhi
8(sym). */
- HOWTO (R_AVR_8_H
HI
8, /* type */
+ /* h
lo8-part to use in .byte hlo
8(sym). */
+ HOWTO (R_AVR_8_H
LO
8, /* type */
16, /* rightshift */
0, /* size (0 = byte, 1 = short, 2 = long) */
8, /* bitsize */
16, /* rightshift */
0, /* size (0 = byte, 1 = short, 2 = long) */
8, /* bitsize */
@@
-554,7
+554,7
@@
static reloc_howto_type elf_avr_howto_table[] =
0, /* bitpos */
complain_overflow_dont,/* complain_on_overflow */
bfd_elf_generic_reloc, /* special_function */
0, /* bitpos */
complain_overflow_dont,/* complain_on_overflow */
bfd_elf_generic_reloc, /* special_function */
- "R_AVR_8_H
HI
8", /* name */
+ "R_AVR_8_H
LO
8", /* name */
FALSE, /* partial_inplace */
0xffffff, /* src_mask */
0xffffff, /* dst_mask */
FALSE, /* partial_inplace */
0xffffff, /* src_mask */
0xffffff, /* dst_mask */
@@
-600,7
+600,7
@@
static const struct avr_reloc_map avr_reloc_map[] =
{ BFD_RELOC_8, R_AVR_8 },
{ BFD_RELOC_AVR_8_LO, R_AVR_8_LO8 },
{ BFD_RELOC_AVR_8_HI, R_AVR_8_HI8 },
{ BFD_RELOC_8, R_AVR_8 },
{ BFD_RELOC_AVR_8_LO, R_AVR_8_LO8 },
{ BFD_RELOC_AVR_8_HI, R_AVR_8_HI8 },
- { BFD_RELOC_AVR_8_H
HI, R_AVR_8_HHI
8 }
+ { BFD_RELOC_AVR_8_H
LO, R_AVR_8_HLO
8 }
};
/* Meant to be filled one day with the wrap around address for the
};
/* Meant to be filled one day with the wrap around address for the
@@
-1558,7
+1558,7
@@
elf32_avr_relax_delete_bytes (bfd *abfd,
irel = elf_section_data (isec)->relocs;
/* PR 12161: Read in the relocs for this section if necessary. */
if (irel == NULL)
irel = elf_section_data (isec)->relocs;
/* PR 12161: Read in the relocs for this section if necessary. */
if (irel == NULL)
-
irel = _bfd_elf_link_read_relocs (abfd, isec, NULL, NULL, FALS
E);
+
irel = _bfd_elf_link_read_relocs (abfd, isec, NULL, NULL, TRU
E);
for (irelend = irel + isec->reloc_count;
irel < irelend;
for (irelend = irel + isec->reloc_count;
irel < irelend;
@@
-1617,9
+1617,6
@@
elf32_avr_relax_delete_bytes (bfd *abfd,
/* else...Reference symbol is extern. No need for adjusting
the addend. */
}
/* else...Reference symbol is extern. No need for adjusting
the addend. */
}
-
- if (elf_section_data (isec)->relocs == NULL)
- free (irelend - isec->reloc_count);
}
}
}
}
This page took
0.024029 seconds
and
4
git commands to generate.