aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
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')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/elfcode.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 29dcd29..73ea59d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+Mon Apr 11 14:41:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
+
+ * elfcode.h (assign_file_positions_except_relocs): Don't require
+ the file alignment to correspond to the page size when linking
+ with -N.
+
Sun Apr 10 01:02:24 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* elfcode.h (write_relocs): For rela relocations, adjust the
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)