* elfcode.h (assign_file_positions_except_relocs): Don't require

the file alignment to correspond to the page size when linking
	with -N.
This commit is contained in:
Ian Lance Taylor 1994-04-11 18:43:15 +00:00
parent 60430a4667
commit bf08d1e266
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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)