[Bug ld/27433] RISC-V linker might lose relax opportunities since "again" doesn't work as expected

2021-02-18 Thread nelsonc1225 at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27433 --- Comment #3 from Nelson Chu --- Created attachment 13232 --> https://sourceware.org/bugzilla/attachment.cgi?id=13232&action=edit proposed solution v2 Fixed the conflicts since the v1 patch is too old. After applying this patch, the "cal

[Bug ld/27433] RISC-V linker might lose relax opportunities since "again" doesn't work as expected

2021-02-18 Thread nelsonc1225 at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27433 Nelson Chu changed: What|Removed |Added Attachment #13231|0 |1 is obsolete|

[Bug ld/27433] RISC-V linker might lose relax opportunities since "again" doesn't work as expected

2021-02-18 Thread nelsonc1225 at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27433 --- Comment #2 from Nelson Chu --- The attached is the proposed solution. We use a new boolean "restart_relax" to determine if we need to re-run the whole relax passes again from 0 to 2. Once we have deleted the code between relax pass 0 to

[Bug ld/27433] RISC-V linker might lose relax opportunities since "again" doesn't work as expected

2021-02-18 Thread nelsonc1225 at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27433 Nelson Chu changed: What|Removed |Added Target||riscv*-*-* -- You are receiving this ma

[Bug ld/27433] RISC-V linker might lose relax opportunities since "again" doesn't work as expected

2021-02-18 Thread nelsonc1225 at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27433 --- Comment #1 from Nelson Chu --- Created attachment 13231 --> https://sourceware.org/bugzilla/attachment.cgi?id=13231&action=edit proposed solution -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/27433] New: RISC-V linker might lose relax opportunities since "again" doesn't work as expected

2021-02-18 Thread nelsonc1225 at sourceware dot org
Status: NEW Severity: enhancement Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: nelsonc1225 at sourceware dot org Target Milestone: --- We find that the more relax passes, the more chances of relaxations are reduced.

[Bug ld/24685] [RISCV] R_RISCV_CALL_PLT should not create a canonical PLT in -no-pie mode

2021-02-17 Thread nelsonc1225 at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24685 Nelson Chu changed: What|Removed |Added CC||nelsonc1225 at sourceware dot org

[Bug ld/27200] Bad RiscV64 ELF header flag using ld -b binary

2021-02-17 Thread nelsonc1225 at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27200 Nelson Chu changed: What|Removed |Added CC||nelsonc1225 at sourceware dot org

<    1   2