GNU Binutils with patches for OS216
Révision | 79c1bf3c71fcf5d453733ee45321e3fbc57b04b2 (tree) |
---|---|
l'heure | 2018-09-29 07:35:55 |
Auteur | H.J. Lu <hjl.tools@gmai...> |
Commiter | H.J. Lu |
bfd: Use elfclass instead of bed->s->elfclass
elfclass has been set to bed->s->elfclass earlier.
* elf-properties.c (_bfd_elf_link_setup_gnu_properties): Use
elfclass instead of bed->s->elfclass.
@@ -1,3 +1,8 @@ | ||
1 | +2018-09-28 H.J. Lu <hongjiu.lu@intel.com> | |
2 | + | |
3 | + * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Use | |
4 | + elfclass instead of bed->s->elfclass. | |
5 | + | |
1 | 6 | 2018-09-27 Jim Wilson <jimw@sifive.com> |
2 | 7 | |
3 | 8 | * elfnn-riscv.c (riscv_init_pcgp_relocs): Add explanatory comment. |
@@ -239,7 +244,7 @@ | ||
239 | 244 | to calculate header and padding size. Use filepos of the first |
240 | 245 | section otherwise. |
241 | 246 | |
242 | -018-08-31 H.J. Lu <hongjiu.lu@intel.com> | |
247 | +2018-08-31 H.J. Lu <hongjiu.lu@intel.com> | |
243 | 248 | |
244 | 249 | PR ld/23600 |
245 | 250 | * archures.c (bfd_arch_get_compatible): Allow an IR object with |
@@ -488,7 +488,7 @@ _bfd_elf_link_setup_gnu_properties (struct bfd_link_info *info) | ||
488 | 488 | { |
489 | 489 | bfd_size_type size; |
490 | 490 | bfd_byte *contents; |
491 | - unsigned int align_size = bed->s->elfclass == ELFCLASS64 ? 8 : 4; | |
491 | + unsigned int align_size = elfclass == ELFCLASS64 ? 8 : 4; | |
492 | 492 | |
493 | 493 | sec = bfd_get_section_by_name (first_pbfd, |
494 | 494 | NOTE_GNU_PROPERTY_SECTION_NAME); |