https://sourceware.org/bugzilla/show_bug.cgi?id=28709
--- Comment #3 from lifang_xia at linux dot alibaba.com ---
The gas of riscv will split frag in md_assemble if the insn could be relaxed in
linker.tc-riscv.c:1372 (append_insn)
/* We need to start a new frag after any
https://sourceware.org/bugzilla/show_bug.cgi?id=28709
--- Comment #7 from lifang_xia at linux dot alibaba.com ---
Thank you so much for explaining that.
--
You are receiving this mail because:
You are on the CC list for the bug.
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: lifang_xia at linux dot alibaba.com
Target Milestone: ---
Created attachment 13915
--> https://sourceware.org/bugzilla/attachment.cgi?id=13915&action=edit
pic of eh_frame
commit: HEAD
build
https://sourceware.org/bugzilla/show_bug.cgi?id=28793
--- Comment #2 from lifang_xia at linux dot alibaba.com ---
It is better choice that Handling this in riscv_frag_align_code.
But "frag_wane (frag_now) + frag_new (0)" should be after we call the
frag_more, NOT before.
If add
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: lifang_xia at linux dot alibaba.com
Target Milestone: ---
Hi all,
I have met a problem in risc-v relaxation. But I think it would be generic bug,
not only in risc-v.
Here is a case for riscv:
```
section
https://sourceware.org/bugzilla/show_bug.cgi?id=29803
--- Comment #1 from lifang_xia at linux dot alibaba.com ---
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 03daba6ef7f..a63e73850c3 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -6138,8 +6138,14 @@ lang_size_sections_1
if
https://sourceware.org/bugzilla/show_bug.cgi?id=29803
--- Comment #3 from lifang_xia at linux dot alibaba.com ---
> Calling lang_size_sections_1 recursively seems more than a little dangerous.
Yes, an other way to avoid this:
Do not relax it if the caller and the dest function are not in s
https://sourceware.org/bugzilla/show_bug.cgi?id=27566
--- Comment #9 from lifang_xia at linux dot alibaba.com ---
Hi we get this error a again.
-
.text
hello:
.rept 6000
lla a0, ARCHOR0
.endr
.section .rodata
.set ARCHOR0, . + 4598
.fill