• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Révision79c1bf3c71fcf5d453733ee45321e3fbc57b04b2 (tree)
l'heure2018-09-29 07:35:55
AuteurH.J. Lu <hjl.tools@gmai...>
CommiterH.J. Lu

Message de Log

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.

Change Summary

Modification

--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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+
16 2018-09-27 Jim Wilson <jimw@sifive.com>
27
38 * elfnn-riscv.c (riscv_init_pcgp_relocs): Add explanatory comment.
@@ -239,7 +244,7 @@
239244 to calculate header and padding size. Use filepos of the first
240245 section otherwise.
241246
242-018-08-31 H.J. Lu <hongjiu.lu@intel.com>
247+2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
243248
244249 PR ld/23600
245250 * archures.c (bfd_arch_get_compatible): Allow an IR object with
--- a/bfd/elf-properties.c
+++ b/bfd/elf-properties.c
@@ -488,7 +488,7 @@ _bfd_elf_link_setup_gnu_properties (struct bfd_link_info *info)
488488 {
489489 bfd_size_type size;
490490 bfd_byte *contents;
491- unsigned int align_size = bed->s->elfclass == ELFCLASS64 ? 8 : 4;
491+ unsigned int align_size = elfclass == ELFCLASS64 ? 8 : 4;
492492
493493 sec = bfd_get_section_by_name (first_pbfd,
494494 NOTE_GNU_PROPERTY_SECTION_NAME);