aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfcode.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-04-11 18:43:15 +0000
committerIan Lance Taylor <ian@airs.com>1994-04-11 18:43:15 +0000
commitbf08d1e26655066aa16637662bb4eb2a2e3a3aad (patch)
tree4a30b5bb3eb3cdd8e02be4d0a8195a35e2dda370 /bfd/elfcode.h
parent60430a466773b7d41173d79684d1dd7c9f2f5b50 (diff)
downloadgdb-bf08d1e26655066aa16637662bb4eb2a2e3a3aad.zip
gdb-bf08d1e26655066aa16637662bb4eb2a2e3a3aad.tar.gz
gdb-bf08d1e26655066aa16637662bb4eb2a2e3a3aad.tar.bz2
* elfcode.h (assign_file_positions_except_relocs): Don't require
the file alignment to correspond to the page size when linking with -N.
Diffstat (limited to 'bfd/elfcode.h')
-rw-r--r--bfd/elfcode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h
index 50878fc..b30d5c3 100644
--- a/bfd/elfcode.h
+++ b/bfd/elfcode.h
@@ -1976,6 +1976,7 @@ assign_file_positions_except_relocs (abfd)
}
if (exec_p
+ && (abfd->flags & D_PAGED) != 0
&& get_elf_backend_data (abfd)->maxpagesize > 1
&& i_shdrp->sh_type == SHT_PROGBITS
&& (i_shdrp->sh_flags & SHF_ALLOC)