mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
Reindent assign_file_positions_for_non_load_sections
* elf.c (assign_file_positions_for_non_load_sections): Reindent.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2012-06-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* elf.c (assign_file_positions_for_non_load_sections): Reindent.
|
||||||
|
|
||||||
2012-06-11 H.J. Lu <hongjiu.lu@intel.com>
|
2012-06-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* elf.c (_bfd_elf_map_sections_to_segments): Reindent.
|
* elf.c (_bfd_elf_map_sections_to_segments): Reindent.
|
||||||
|
@ -4949,10 +4949,11 @@ assign_file_positions_for_non_load_sections (bfd *abfd,
|
|||||||
else
|
else
|
||||||
abort ();
|
abort ();
|
||||||
p->p_memsz = p->p_filesz;
|
p->p_memsz = p->p_filesz;
|
||||||
/* Preserve the alignment and flags if they are valid. The gold
|
/* Preserve the alignment and flags if they are valid. The
|
||||||
linker generates RW/4 for the PT_GNU_RELRO section. It is better
|
gold linker generates RW/4 for the PT_GNU_RELRO section.
|
||||||
for objcopy/strip to honor these attributes otherwise gdb will
|
It is better for objcopy/strip to honor these attributes
|
||||||
choke when using separate debug files. */
|
otherwise gdb will choke when using separate debug files.
|
||||||
|
*/
|
||||||
if (!m->p_align_valid)
|
if (!m->p_align_valid)
|
||||||
p->p_align = 1;
|
p->p_align = 1;
|
||||||
if (!m->p_flags_valid)
|
if (!m->p_flags_valid)
|
||||||
|
Reference in New Issue
Block a user