aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-nacl.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf-nacl.c')
-rw-r--r--bfd/elf-nacl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf-nacl.c b/bfd/elf-nacl.c
index 58eebf6..ddac3b3 100644
--- a/bfd/elf-nacl.c
+++ b/bfd/elf-nacl.c
@@ -197,6 +197,7 @@ nacl_modify_segment_map (bfd *abfd, struct bfd_link_info *info)
included the file header and phdrs. */
seg->includes_filehdr = 0;
seg->includes_phdrs = 0;
+ seg->no_sort_lma = 1;
/* Also strip out empty segments. */
if (seg->count == 0)
{