[1/2 PATCH][ARM] Change noread to purecode

Andre Vieira (lists) Andre.SimoesDiasVieira@arm.com
Thu Jun 30 14:25:00 GMT 2016


This patch changes the old noread attribute into the new purecode attribute.

bfd/ChangeLog
2016-06-30  Andre Vieria  <andre.simoesdiasvieira@arm.com>

        * 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-06-30  Andre Vieria  <andre.simoesdiasvieira@arm.com>

        * 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.

ChangeLog
2016-06-30  Andre Vieria  <andre.simoesdiasvieira@arm.com>

        * include/elf/arm.h (SHF_ARM_NOREAD): Rename to ...
          (SHF_ARM_PURECODE): ... this.

ld/ChangeLog
2016-06-30  Andre Vieria  <andre.simoesdiasvieira@arm.com>

        * testsuite/ld-arm/arm_noread.ld: Renamed to ...
          testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
          all noread's by purecode.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: purecode-1.patch
Type: text/x-patch
Size: 6749 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20160630/a8c9c71c/attachment.bin>


More information about the Binutils mailing list