mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
* 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:
@ -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)
|
||||
|
Reference in New Issue
Block a user