https://sourceware.org/bugzilla/show_bug.cgi?id=32772
--- Comment #5 from Nelson Chu ---
Thanks for that reduced failure attached :-)
I get the follows after applying the fix,
$ riscv64-unknown-linux-gnu-ld lto-wrapper.o libcommon-target.a libcommon.a
libcpp.a libstdc++.a -shared
riscv64-unknow
https://sourceware.org/bugzilla/show_bug.cgi?id=32499
--- Comment #6 from Nelson Chu ---
(In reply to Sam James from comment #1)
>
> $ readelf libpr18841c.so -r
> Relocation section '.rela.dyn' at offset 0x370 contains 9 entries:
> Offset Info Type Sym. ValueSy
https://sourceware.org/bugzilla/show_bug.cgi?id=32499
--- Comment #3 from Nelson Chu ---
I think it shouldn't be related to the commit you gave, since the commit
doesn't change any code of linker.
I think risc-v still lost the change (elfnn-riscv.c:riscv_reloc_type_class) in
pr18841, that other
https://sourceware.org/bugzilla/show_bug.cgi?id=30873
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=32377
--- Comment #1 from Nelson Chu ---
Probably is because the alignment, the valid range of gp will never be exactly
on the boundary.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=27566
--- Comment #14 from Nelson Chu ---
> Yes. the relaxation like “.set ARCHOR0, . + 4598” being relaxed at 2nd pass
> or 3rd pass would be fine
I don't understand why the 2nd pass or 3rd pass should be fine? Even 2nd or
3rd passes still have
https://sourceware.org/bugzilla/show_bug.cgi?id=27566
--- Comment #13 from Nelson Chu ---
There are at least two reviewed patches should resolve this,
https://sourceware.org/pipermail/binutils/2023-May/127413.html
https://sourceware.org/pipermail/binutils/2024-May/134442.html
Looks no one really
https://sourceware.org/bugzilla/show_bug.cgi?id=32036
Nelson Chu changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=32014
--- Comment #2 from Nelson Chu ---
The .option arch directives shouldn't affect the file-level elf arch attribute,
but problem still there if -flto merges different .attribute files into one.
--
You are receiving this mail because:
You are o
https://sourceware.org/bugzilla/show_bug.cgi?id=32001
Nelson Chu changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=32036
--- Comment #1 from Nelson Chu ---
The xventana cond extension are rv64 only since this patch,
https://github.com/bminor/binutils-gdb/commit/fe0f44a0caf59db09ad4bc16a46926aba96ce60d
--
You are receiving this mail because:
You are on the CC l
https://sourceware.org/bugzilla/show_bug.cgi?id=31969
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=32001
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=27180
Nelson Chu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=29823
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=31179
Nelson Chu changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=31179
--- Comment #11 from Nelson Chu ---
> So I think this is a roughly workable solution (maybe we should cache those
> tag lookups for performance, not sure if it matters). It's going to be hard
> to tell for sure without some distro testing, t
https://sourceware.org/bugzilla/show_bug.cgi?id=31179
--- Comment #8 from Nelson Chu ---
Created attachment 15270
--> https://sourceware.org/bugzilla/attachment.cgi?id=15270&action=edit
proposed solution with the tag to keep compatible
Updated to have a tag, this patch should be applied after
https://sourceware.org/bugzilla/show_bug.cgi?id=31179
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=30844
--- Comment #4 from Nelson Chu ---
> The --emit-relocs should switch to preserve the original
> relocation type, including R_RISCV_CALL_PLT(etc),
> R_RISCV_RELAX, and R_RISCV_ALIGN.
Looks reasonable, so based on this rule when setting --emit-
https://sourceware.org/bugzilla/show_bug.cgi?id=25694
Nelson Chu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=30449
Nelson Chu changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=30449
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=24676
--- Comment #5 from Nelson Chu ---
Accidentally, this can also fix the redundant NOPs issue here,
https://sourceware.org/pipermail/binutils/2023-May/127653.html
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=25694
--- Comment #7 from Nelson Chu ---
Thanks for the information, Andreas.
There is a proposed solution as follows, which suggested by Alan,
https://sourceware.org/pipermail/binutils/2023-May/127653.html
The idea is that make sure using same co
https://sourceware.org/bugzilla/show_bug.cgi?id=27566
Nelson Chu changed:
What|Removed |Added
Last reconfirmed||2023-05-10
Status|RESOLVED
https://sourceware.org/bugzilla/show_bug.cgi?id=25694
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=28789
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=30282
Nelson Chu changed:
What|Removed |Added
Attachment #14785|0 |1
is patch|
https://sourceware.org/bugzilla/show_bug.cgi?id=30282
--- Comment #1 from Nelson Chu ---
Created attachment 14785
--> https://sourceware.org/bugzilla/attachment.cgi?id=14785&action=edit
Proposed solution v1
I guess the massive dis-assembler slowdown is caused by searching the mapping
symbol, s
https://sourceware.org/bugzilla/show_bug.cgi?id=30282
Nelson Chu changed:
What|Removed |Added
Summary|risc-v: objdump îs really |risc-v: objdump is really
Assignee: unassigned at sourceware dot org
Reporter: nelsonc1225 at sourceware dot org
Target Milestone: ---
Originally discussion,
https://github.com/riscv-collab/riscv-gnu-toolchain/issues/1188
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=30259
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=13302
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=30099
--- Comment #2 from Nelson Chu ---
Some minor issues for implementation,
* I like the idea from Maciej to define a new instruction type, INSN_NORELOC,
in the opcode table. But seems like we didn't left enough encodings for
INSN_TYPE, so the
https://sourceware.org/bugzilla/show_bug.cgi?id=30099
--- Comment #1 from Nelson Chu ---
Created attachment 14662
--> https://sourceware.org/bugzilla/attachment.cgi?id=14662&action=edit
proposed solution v1
--
You are receiving this mail because:
You are on the CC list for the bug.
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: nelsonc1225 at sourceware dot org
Target Milestone: ---
Copy from here,
https://inbox.sourceware.org/binutils/ds7pr12mb57659139c1d9ea568403722dcb
https://sourceware.org/bugzilla/show_bug.cgi?id=28509
Nelson Chu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=28863
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=24683
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=27809
Nelson Chu changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=24226
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
||nelsonc1225 at sourceware dot
org
Resolution|--- |FIXED
--- Comment #10 from Nelson Chu ---
This should be fixed since RISCV already supported IFUNC in gcc/binutils/glibc,
so marked as RESOLVED and FIXED. We can re-open this or open a new one if
https://sourceware.org/bugzilla/show_bug.cgi?id=28509
--- Comment #2 from Nelson Chu ---
It probably worth that back to see this one, I totally forgot it...
https://sourceware.org/pipermail/binutils/2021-November/118398.html
--
You are receiving this mail because:
You are on the CC list for the
https://sourceware.org/bugzilla/show_bug.cgi?id=29004
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
|--- |WONTFIX
CC||nelsonc1225 at sourceware dot
org
--- Comment #2 from Nelson Chu ---
We should reserve the maximum section alignment when doing relaxations, even if
the section alignment doesn't seems to affect. Since sometime
https://sourceware.org/bugzilla/show_bug.cgi?id=29341
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
||nelsonc1225 at sourceware dot
org
Resolution|--- |FIXED
--- Comment #5 from Nelson Chu ---
Marked as resolved and fixed since the following commit,
commit 48525554d5222d98953202b9252ff65fdead58a4
Refs: gdb-12-branchpoint-1830-g48525554d52
Author
https://sourceware.org/bugzilla/show_bug.cgi?id=28733
Nelson Chu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://sourceware.org/bugzilla/show_bug.cgi?id=28793
Nelson Chu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=28793
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=28733
Nelson Chu changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |palmer at dabbelt dot
com
--
Yo
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: nelsonc1225 at sourceware dot org
Target Milestone: ---
For now we just report the errors "unrecognized opcode" for the instruction
which needs to enable some specific extensions. For example,
nel
https://sourceware.org/bugzilla/show_bug.cgi?id=28709
--- Comment #5 from Nelson Chu ---
(In reply to lifang_xia from comment #3)
> The riscv backend will create a reloc named BFD_RELOC_RISCV_CFA in
> riscv_pre_output_hook. The reloc depends on the symbol to(.L0) and
> from(.L0).
>
> And riscv
https://sourceware.org/bugzilla/show_bug.cgi?id=28709
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: nelsonc1225 at sourceware dot org
Target Milestone: ---
The 32-bit build failed again when --enable-targets=all, the original
discussion was here,
https://sourceware.org/pipermail
https://sourceware.org/bugzilla/show_bug.cgi?id=28610
Nelson Chu changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=28610
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
CC||nelsonc1225 at sourceware dot
org
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=28441
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=28410
Nelson Chu changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=28410
--- Comment #7 from Nelson Chu ---
> only restart the relax passes themselves.
The purpose of `again` is used to rerun the relax passes themselves. That
means once the `again` is always false for all input sections, and we decide to
enter th
https://sourceware.org/bugzilla/show_bug.cgi?id=28410
--- Comment #5 from Nelson Chu ---
Oh, sorry for the wrong description, we should update the tables in the
_bfd_riscv_relax_section, rather than the tables in the
riscv_elf_relocate_section. Otherwise, the idea should be similar.
--
You are
https://sourceware.org/bugzilla/show_bug.cgi?id=28410
--- Comment #4 from Nelson Chu ---
> I had thought about a possible approach to rewrite the commit, such that we
> can restart the relaxation process again without modifying the `again`
> pointer. Perhaps its worth me working on this if that's
https://sourceware.org/bugzilla/show_bug.cgi?id=28410
--- Comment #2 from Nelson Chu ---
commit abd20cb637008da9d32018b4b03973e119388a0a
Refs: users/ARM/embedded-gdb-master-2018q4-7811-gabd20cb
Author: Nelson Chu
AuthorDate: Tue Nov 17 19:39:52 2020 -0800
Commit: Nelson Chu
CommitDate:
https://sourceware.org/bugzilla/show_bug.cgi?id=28410
--- Comment #1 from Nelson Chu ---
Consider the testcase in the attached,
nelson@LAPTOP-QFSGI1F2:~/test$ cat align.s
.section .entry, "xa"
.align 5
.globl _start
.type _start, @function
_start:
tail _start
.size _start, . - _start
nels
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: nelsonc1225 at sourceware dot org
Target Milestone: ---
Created attachment 13695
--> https://sourceware.org/bugzilla/attachment.cgi?id=13695&action=edit
proposed solution fro
https://sourceware.org/bugzilla/show_bug.cgi?id=28372
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=27916
Nelson Chu changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=24769
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
||nelsonc1225 at sourceware dot
org
Status|NEW |RESOLVED
--- Comment #10 from Nelson Chu ---
The pr28021 is related to this pr, and the new problem is resolved by Michael
Matz. So also marked as resolved and fixed for pr22756.
--
You are
https://sourceware.org/bugzilla/show_bug.cgi?id=27566
Nelson Chu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=27953
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=24676
Nelson Chu changed:
What|Removed |Added
CC||chschandan at gmail dot com
--- Comment
https://sourceware.org/bugzilla/show_bug.cgi?id=27916
Nelson Chu changed:
What|Removed |Added
Target||riscv*-*-*
--
You are receiving this ma
https://sourceware.org/bugzilla/show_bug.cgi?id=27916
Nelson Chu changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |nelsonc1225 at
sourceware dot
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: nelsonc1225 at sourceware dot org
Target Milestone: ---
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=25212
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=27814
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=27809
Nelson Chu changed:
What|Removed |Added
Target||riscv*-*-*
--
You are receiving this ma
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: nelsonc1225 at sourceware dot org
Target Milestone: ---
-Mnumeric and other dis-assembler options are missing in the binutils
documents.
--
You are receiving this mail because:
You are on the CC list for the
https://sourceware.org/bugzilla/show_bug.cgi?id=27180
--- Comment #2 from Nelson Chu ---
Hi Julius,
Thanks for reporting this. Your assumption is correct, the PCREL relocs are
converted to the directly access relocs, but we don't update them to the
relocation table, so we will get segment fault
https://sourceware.org/bugzilla/show_bug.cgi?id=27180
Nelson Chu changed:
What|Removed |Added
Attachment #13402|application/mbox|text/plain
mime type|
https://sourceware.org/bugzilla/show_bug.cgi?id=27180
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=24676
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=25258
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
||nelsonc1225 at sourceware dot
org
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=27215
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=27566
Nelson Chu changed:
What|Removed |Added
Target||riscv*-*-*
--
You are receiving this ma
||nelsonc1225 at sourceware dot
org
Status|NEW |RESOLVED
--- Comment #3 from Nelson Chu ---
Now I can have the expected results by using mainline binutils,
nelson@LAPTOP-QFSGI1F2:~$ riscv32-unknown-elf-as -march=rv64g tmp.s
nelson@LAPTOP-QFSGI1F2
https://sourceware.org/bugzilla/show_bug.cgi?id=27732
Nelson Chu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://sourceware.org/bugzilla/show_bug.cgi?id=27584
--- Comment #7 from Nelson Chu ---
$ cat tmp.s
foo:
lla a0, foo
$ riscv64-unknown-elf-as tmp.s -o tmp-gnu.o
$ riscv64-unknown-elf-nm tmp-gnu.o
t foo
riscv64-unknown-elf-nm --special-syms tmp-gnu.o
https://sourceware.org/bugzilla/show_bug.cgi?id=27585
--- Comment #1 from Nelson Chu ---
The fixed in PR27584 doesn't affect the PR27585. The addr2line may be another
problem and need to find another way to fix.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=27584
Nelson Chu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=27433
Nelson Chu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://sourceware.org/bugzilla/show_bug.cgi?id=27732
Nelson Chu changed:
What|Removed |Added
Summary|Compress "addi a0, a1, 0" |RISC-V: Compress "addi a0,
https://sourceware.org/bugzilla/show_bug.cgi?id=27732
Nelson Chu changed:
What|Removed |Added
Target||riscv*-*-*
--
You are receiving this ma
2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: nelsonc1225 at sourceware dot org
Target Milestone: ---
The idea comes from Lifang-Xia, and llvm already have the similar conversion,
https://reviews.llvm.org/D45583
--
You are receiving this mail
https://sourceware.org/bugzilla/show_bug.cgi?id=27584
--- Comment #5 from Nelson Chu ---
(In reply to Andreas Schwab from comment #4)
> I think it would generally be useful to add an option to omit local .L
> symbols from both nm and objdump output, including disassembler output.
Thanks Andreas,
https://sourceware.org/bugzilla/show_bug.cgi?id=27566
--- Comment #6 from Nelson Chu ---
Jim's assumption is right, the gp won't overlap the rodata. But it could
overlap the symbol defined in the rodata, and it's value plus a constant.
.align 3
.globl hello_rodata
.set hello_rodata
1 - 100 of 115 matches
Mail list logo