[Bug ld/25527] [RISC-V] -static-pie not producing relocations

2020-04-29 Thread xerpi.g.12 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25527 --- Comment #2 from Sergi Granell --- Hi Jim, Are there any news/updates regarding this? Seems like there were 2 problems: 1) GCC doesn't propagate "--static-pie" as "--static --pie --no-dynamic-linker -z text" to the linker 2) Newlib doesn't

[Bug ld/25527] New: [RISC-V] -static-pie not producing relocations

2020-02-10 Thread xerpi.g.12 at gmail dot com
Component: ld Assignee: unassigned at sourceware dot org Reporter: xerpi.g.12 at gmail dot com Target Milestone: --- Trying to compile with -static-pie for a bare-metal target: no dynamic linker and therefore the relocations have to be resolved by the ELF loader when it establishes