diff options
author | Andre Vieria <andre.simoesdiasvieira@arm.com> | 2016-07-05 11:28:46 +0100 |
---|---|---|
committer | Richard Earnshaw <Richard.Earnshaw@arm.com> | 2016-07-05 11:28:46 +0100 |
commit | f0728ee368f217f2473798ad7ccfe9feae4412ce (patch) | |
tree | f4c515f664e489872f0f802579ab9a34e4a4f562 /ld | |
parent | 1753ed681125949b081376dd97056a3f2930e7d7 (diff) | |
download | gdb-f0728ee368f217f2473798ad7ccfe9feae4412ce.zip gdb-f0728ee368f217f2473798ad7ccfe9feae4412ce.tar.gz gdb-f0728ee368f217f2473798ad7ccfe9feae4412ce.tar.bz2 |
[ARM] Change noread to purecode.
bfd/ChangeLog
2016-07-05 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-07-05 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.
include/ChangeLog
2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
* elf/arm.h (SHF_ARM_NOREAD): Rename to ...
(SHF_ARM_PURECODE): ... this.
ld/ChangeLog
2016-07-05 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.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm_purecode.ld (renamed from ld/testsuite/ld-arm/arm_noread.ld) | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 53f2428..cc598af 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2016-07-05 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. + 2016-07-05 Jan Beulich <jbeulich@suse.com> * ldexp.c (exp_fold_tree_1): Set linker_def field based on diff --git a/ld/testsuite/ld-arm/arm_noread.ld b/ld/testsuite/ld-arm/arm_purecode.ld index 3ff17bc..195aca1 100644 --- a/ld/testsuite/ld-arm/arm_noread.ld +++ b/ld/testsuite/ld-arm/arm_purecode.ld @@ -4,16 +4,16 @@ ENTRY(_start) MEMORY { read_memory (rx) : ORIGIN = 0x00008000, LENGTH = 4M - noread_memory (!rx) : ORIGIN = 0x00800000, LENGTH = 4M + purecode_memory (!rx) : ORIGIN = 0x00800000, LENGTH = 4M } SECTIONS { /* Read-only sections, merged into text segment: */ PROVIDE (__executable_start = 0x8000); . = 0x8000; - .text.noread : + .text.purecode : { - INPUT_SECTION_FLAGS (SHF_ARM_NOREAD) *(.text*) - } > noread_memory + INPUT_SECTION_FLAGS (SHF_ARM_PURECODE) *(.text*) + } > purecode_memory .text : { *(.before) |