https://sourceware.org/bugzilla/show_bug.cgi?id=18935
--- Comment #1 from Johan Karlsson <johan.karlsson at enea dot com> --- This is not a regression from PR18847. Seems a bit unclear what the expected behavior is. .init_stack (NOLOAD) : { . = . + 0x200; } :ph_load With this ld.bfd creates a NOBITS SHF_ALLOC section(just like .bss). When a new non-SHF_ALLOC output section is created the address is set to 0. Layout::make_output_section_for_script(), which is the function that creates the init_stack section, only tries to create sections with SHT_PROGBITS section. This is why the assert fails when Output_section_definition::set_section_addresses() tries to assign an address to the section. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils