GNU Binutils with patches for OS216
修訂 | 2d4550cd2922cf5b6115a74db721973e2d150cf8 (tree) |
---|---|
時間 | 2016-09-26 19:01:57 |
作者 | Thomas Preud'homme <thomas.preudhomme@arm....> |
Commiter | Thomas Preud'homme |
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.
@@ -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 | + | |
1 | 6 | 2016-09-23 Andre Vieria <andre.simoesdiasvieira@arm.com> |
2 | 7 | |
3 | 8 | * objdump.c (dump_section_header): Handle SEC_ELF_PURECODE. |
@@ -5273,7 +5273,7 @@ get_elf_section_flags (bfd_vma sh_flags) | ||
5273 | 5273 | /* 19 */ { STRING_COMMA_LEN ("ORDERED") }, |
5274 | 5274 | /* 20 */ { STRING_COMMA_LEN ("COMPRESSED") }, |
5275 | 5275 | /* ARM specific. */ |
5276 | - /* 22 */ { STRING_COMMA_LEN ("ARM_PURECODE") }, | |
5276 | + /* 21 */ { STRING_COMMA_LEN ("ARM_PURECODE") }, | |
5277 | 5277 | }; |
5278 | 5278 | |
5279 | 5279 | if (do_section_details) |
@@ -5347,7 +5347,7 @@ get_elf_section_flags (bfd_vma sh_flags) | ||
5347 | 5347 | case EM_ARM: |
5348 | 5348 | switch (flag) |
5349 | 5349 | { |
5350 | - case SHF_ARM_PURECODE: sindex = 22; break; | |
5350 | + case SHF_ARM_PURECODE: sindex = 21; break; | |
5351 | 5351 | default: break; |
5352 | 5352 | } |
5353 | 5353 | break; |