• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

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

修訂2d4550cd2922cf5b6115a74db721973e2d150cf8 (tree)
時間2016-09-26 19:01:57
作者Thomas Preud'homme <thomas.preudhomme@arm....>
CommiterThomas Preud'homme

Log Message

Fix for PURECODE readelf backport

2016-09-26 Andre Vieira <andre.simoesdiasvieira@arm.com>

binutils/
* readelf.c (get_elf_section_flags): Fix readelf after purecode
backport.

Change Summary

差異

--- a/binutils/ChangeLog.arm
+++ b/binutils/ChangeLog.arm
@@ -1,3 +1,8 @@
1+2016-09-26 Andre Vieira <andre.simoesdiasvieira@arm.com>
2+
3+ * readelf.c (get_elf_section_flags): Fix readelf after purecode
4+ backport.
5+
16 2016-09-23 Andre Vieria <andre.simoesdiasvieira@arm.com>
27
38 * objdump.c (dump_section_header): Handle SEC_ELF_PURECODE.
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -5273,7 +5273,7 @@ get_elf_section_flags (bfd_vma sh_flags)
52735273 /* 19 */ { STRING_COMMA_LEN ("ORDERED") },
52745274 /* 20 */ { STRING_COMMA_LEN ("COMPRESSED") },
52755275 /* ARM specific. */
5276- /* 22 */ { STRING_COMMA_LEN ("ARM_PURECODE") },
5276+ /* 21 */ { STRING_COMMA_LEN ("ARM_PURECODE") },
52775277 };
52785278
52795279 if (do_section_details)
@@ -5347,7 +5347,7 @@ get_elf_section_flags (bfd_vma sh_flags)
53475347 case EM_ARM:
53485348 switch (flag)
53495349 {
5350- case SHF_ARM_PURECODE: sindex = 22; break;
5350+ case SHF_ARM_PURECODE: sindex = 21; break;
53515351 default: break;
53525352 }
53535353 break;