https://sourceware.org/bugzilla/show_bug.cgi?id=30259
Nelson Chu <nelsonc1225 at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nelsonc1225 at sourceware dot org --- Comment #1 from Nelson Chu <nelsonc1225 at sourceware dot org> --- A quick look, but not in details, the problem caused by that the .section code must add at least "a" alloca attribute. Otherwise, ld even not go into check_reloc, so that we won't do any GOT stuffs for R_RISCV_HI20, but will try to use it in relocate_section. This may also be one of the cases that show the non-matching between check_reloc and relocate_section. -- You are receiving this mail because: You are on the CC list for the bug.