From f0728ee368f217f2473798ad7ccfe9feae4412ce Mon Sep 17 00:00:00 2001 From: Andre Vieria Date: Tue, 5 Jul 2016 11:28:46 +0100 Subject: [ARM] Change noread to purecode. bfd/ChangeLog 2016-07-05 Andre Vieria * bfd-in2.h (SEC_ELF_NOREAD): Rename to ... (SEC_ELF_PURECODE): ... this. * elf32-arm.c (elf32_arm_post_process_headers): Rename SEC_ELF_NOREAD to SEC_ELF_NOREAD. (elf32_arm_fake_sections): Likewise. (elf_32_arm_section_flags): Likewise. (elf_32_arm_lookup_section_flags): Likewise. * section.c (SEC_ELF_NOREAD): Rename to ... (SEC_ELF_PURECODE): ... this. binutils/ChangeLog 2016-07-05 Andre Vieria * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD to SEC_ELF_NOREAD. * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE. (process_section_headers): Rename noread to purecode. * section.c (SEC_ELF_NOREAD): Rename to ... (SEC_ELF_PURECODE): ... this. include/ChangeLog 2016-07-05 Andre Vieria * elf/arm.h (SHF_ARM_NOREAD): Rename to ... (SHF_ARM_PURECODE): ... this. ld/ChangeLog 2016-07-05 Andre Vieria * testsuite/ld-arm/arm_noread.ld: Renamed to ... testsuite/ld-arm/arm_purecode.ld: ... this, and replaced all noread's by purecode. --- include/elf/arm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/elf') diff --git a/include/elf/arm.h b/include/elf/arm.h index bafc03c..27ce6b8 100644 --- a/include/elf/arm.h +++ b/include/elf/arm.h @@ -82,7 +82,7 @@ /* ARM-specific values for sh_flags. */ #define SHF_ENTRYSECT 0x10000000 /* Section contains an entry point. */ -#define SHF_ARM_NOREAD 0x20000000 /* Section contains code that can be place on no read memory area. */ +#define SHF_ARM_PURECODE 0x20000000 /* Section contains only code and no data. */ #define SHF_COMDEF 0x80000000 /* Section may be multiply defined in the input to a link step. */ /* ARM-specific program header flags. */ -- cgit v1.1