bfd/
[deliverable/binutils-gdb.git] / bfd / elf32-i386.c
index f35e3c22a99f9afe61292a1d11d3a593bb078dc2..d5a26143806bbc228fe2235803a96eddb92118ff 100644 (file)
@@ -25,6 +25,7 @@
 #include "bfdlink.h"
 #include "libbfd.h"
 #include "elf-bfd.h"
+#include "elf-nacl.h"
 #include "elf-vxworks.h"
 #include "bfd_stdint.h"
 #include "objalloc.h"
@@ -5207,8 +5208,17 @@ static const struct elf_i386_backend_data elf_i386_nacl_arch_bed =
 #undef elf_backend_arch_data
 #define elf_backend_arch_data  &elf_i386_nacl_arch_bed
 
+#undef elf_backend_modify_segment_map
+#define        elf_backend_modify_segment_map          nacl_modify_segment_map
+#undef elf_backend_modify_program_headers
+#define        elf_backend_modify_program_headers      nacl_modify_program_headers
+
 #include "elf32-target.h"
 
+/* Restore defaults.  */
+#undef elf_backend_modify_segment_map
+#undef elf_backend_modify_program_headers
+
 /* VxWorks support.  */
 
 #undef TARGET_LITTLE_SYM
This page took 0.024151 seconds and 4 git commands to generate.