Add extern_protected_data and set it for x86
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 10a3ae215c967a7ce8291a4c812146030fe3e05f..dd3069878037b5c4d036973fc2611f3802fe11ac 100644 (file)
@@ -1,3 +1,21 @@
+2015-04-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/pr15228
+       PR ld/pr17709
+       * elf-bfd.h (elf_backend_data): Add extern_protected_data.
+       * elf32-i386.c (elf_backend_extern_protected_data): New.
+       Defined to 1.
+       * elf64-x86-64.c (elf_backend_extern_protected_data): Likewise.
+       * elflink.c (_bfd_elf_adjust_dynamic_copy): Don't error on
+       copy relocs against protected symbols if extern_protected_data
+       is true.
+       (_bfd_elf_symbol_refs_local_p): Don't return true on protected
+       non-function symbols if extern_protected_data is true.
+       * elfxx-target.h (elf_backend_extern_protected_data): New.
+       Default to 0.
+       (elfNN_bed): Initialize extern_protected_data with
+       elf_backend_extern_protected_data.
+
 2015-04-10  H.J. Lu  <hongjiu.lu@intel.com>
 
        * compress.c (bfd_compress_section_contents): Replace bfd_malloc
This page took 0.024187 seconds and 4 git commands to generate.