diff options
author | Jakub Bogusz | 2006-03-21 20:06:46 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 888f99f68ff5f80cc32fc0631f8e49e5f444ada0 (patch) | |
tree | 4314162ccb8f932bdf674ca3d2b4ef1b7e8d80eb | |
parent | ce40df535ad16d0cd3baea3a0f90a2bb99a0b8af (diff) | |
download | crossppc-binutils-888f99f68ff5f80cc32fc0631f8e49e5f444ada0.zip crossppc-binutils-888f99f68ff5f80cc32fc0631f8e49e5f444ada0.tar.gz |
- updated for 2.16.91.0.7auto/th/binutils-2_17_50_0_2-1auto/th/binutils-2_17_50_0_1-1auto/th/binutils-2_16_91_0_7-1
Changed files:
binutils-pt_pax_flags.patch -> 1.6
-rw-r--r-- | binutils-pt_pax_flags.patch | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/binutils-pt_pax_flags.patch b/binutils-pt_pax_flags.patch index c2e9cda..df2c764 100644 --- a/binutils-pt_pax_flags.patch +++ b/binutils-pt_pax_flags.patch @@ -11,18 +11,17 @@ diff -uNr binutils-2.15.94.0.2.2.orig/bfd/elf-bfd.h binutils-2.15.94.0.2.2/bfd/e /* Symbol version definitions in external objects. */ Elf_Internal_Verdef *verdef; -diff -uNr binutils-2.15.94.0.2.2.orig/bfd/elf.c binutils-2.15.94.0.2.2/bfd/elf.c ---- binutils-2.15.94.0.2.2.orig/bfd/elf.c 2005-02-07 20:42:44.000000000 +0100 -+++ binutils-2.15.94.0.2.2/bfd/elf.c 2005-02-20 13:13:17.397552880 +0100 -@@ -1028,6 +1028,7 @@ - case PT_GNU_EH_FRAME: pt = "EH_FRAME"; break; - case PT_GNU_STACK: pt = "STACK"; break; - case PT_GNU_RELRO: pt = "RELRO"; break; -+ case PT_PAX_FLAGS: pt = "PAX_FLAGS"; break; - default: sprintf (buf, "0x%lx", p->p_type); pt = buf; break; - } - fprintf (f, "%8s off 0x", pt); -@@ -2376,6 +2377,9 @@ +--- binutils-2.16.91.0.7/bfd/elf.c.orig 2006-03-18 02:13:54.000000000 +0100 ++++ binutils-2.16.91.0.7/bfd/elf.c 2006-03-21 20:15:01.658432000 +0100 +@@ -1085,6 +1085,7 @@ + case PT_GNU_EH_FRAME: pt = "EH_FRAME"; break; + case PT_GNU_STACK: pt = "STACK"; break; + case PT_GNU_RELRO: pt = "RELRO"; break; ++ case PT_PAX_FLAGS: pt = "PAX_FLAGS"; break; + default: pt = NULL; break; + } + return pt; +@@ -2606,6 +2607,9 @@ case PT_GNU_RELRO: return _bfd_elf_make_section_from_phdr (abfd, hdr, index, "relro"); @@ -32,7 +31,7 @@ diff -uNr binutils-2.15.94.0.2.2.orig/bfd/elf.c binutils-2.15.94.0.2.2/bfd/elf.c default: /* Check for any processor-specific program segment types. */ bed = get_elf_backend_data (abfd); -@@ -3720,6 +3724,20 @@ +@@ -3933,6 +3937,20 @@ pm = &m->next; } @@ -53,7 +52,7 @@ diff -uNr binutils-2.15.94.0.2.2.orig/bfd/elf.c binutils-2.15.94.0.2.2/bfd/elf.c free (sections); sections = NULL; -@@ -4424,6 +4442,11 @@ +@@ -4665,6 +4683,11 @@ ++segs; } @@ -65,7 +64,7 @@ diff -uNr binutils-2.15.94.0.2.2.orig/bfd/elf.c binutils-2.15.94.0.2.2/bfd/elf.c for (s = abfd->sections; s != NULL; s = s->next) { if ((s->flags & SEC_LOAD) != 0 -@@ -4958,7 +4981,8 @@ +@@ -5181,7 +5204,8 @@ 5. PT_GNU_STACK segments do not include any sections. 6. PT_TLS segment includes only SHF_TLS sections. 7. SHF_TLS sections are only in PT_TLS or PT_LOAD segments. @@ -75,7 +74,7 @@ diff -uNr binutils-2.15.94.0.2.2.orig/bfd/elf.c binutils-2.15.94.0.2.2/bfd/elf.c (with the possible exception of .dynamic). */ #define INCLUDE_SECTION_IN_SEGMENT(section, segment, bed) \ ((((segment->p_paddr \ -@@ -4968,6 +4992,7 @@ +@@ -5191,6 +5215,7 @@ || IS_COREFILE_NOTE (segment, section)) \ && section->output_section != NULL \ && segment->p_type != PT_GNU_STACK \ |