https://sourceware.org/bugzilla/show_bug.cgi?id=21800
Bug ID: 21800 Summary: In mips64 architecture, singular segment of pt_load to crash the program Product: binutils Version: 2.27 Status: UNCONFIRMED Severity: critical Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: He.Hongjun at zte dot com.cn Target Milestone: --- Created attachment 10277 --> https://sourceware.org/bugzilla/attachment.cgi?id=10277&action=edit BSS aligned at boundary 1M, is added in the mips64 default link script. Overview: More detailed restatement of summary. Drag-selecting any page crashes Mac builds in the NSGetFactory function. Steps to Reproduce: Minimized, easy-to-follow steps that will trigger the bug. Include any special setup steps. 1) Using a specific link script (mips64.lds), link generated three PT_LOAD segments. BSS aligned at boundary 1M, is added in the mips64 default link script. = the ALIGN x100000 (0); _edata =.Dojo.provide (edata =.); . = the ALIGN (0 x100000); __bss_start =. 2) Hello test program(test.c) #include <stdio.h> int main() { printf("Hello world!\n"); } 3) Using mips64 compiler compiler mips64-linux-gcc test.c -o test -Wl,-T,mips64.lds The application test crashed. -- 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