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,
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=edit
proposed solution with the tag to keep compatible
Updated to have a tag, this patch should be applied after the
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
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
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
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=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
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
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 sometimes
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
--
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
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
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
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
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=edit
proposed solution from Lewis Rev
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
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
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
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
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
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
||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
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 th
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
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
https://sourceware.org/bugzilla/show_bug.cgi?id=27584
--- Comment #3 from Nelson Chu ---
(In reply to Fangrui Song from comment #2)
> You can try any C file. Due to label differences, there are always lots of
> STB_LOCAL STT_NOTYPE symbols. It seems that GCC uses .L0 while clang uses an
> empty
https://sourceware.org/bugzilla/show_bug.cgi?id=27584
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
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=27566
--- Comment #2 from Nelson Chu ---
Therefore, when we are doing the LUI and PCREL relaxations (GP to symbol or
c.lui to symbol, must cross the DATA_SEGMENT),
* If "-z relro" isn't set, then we need to reserve at most "MAXPAGESIZE" for
the
https://sourceware.org/bugzilla/show_bug.cgi?id=27433
--- Comment #5 from Nelson Chu ---
Oh I forgot to add the PR27433 in the comment, so it doesn’t show which commit
fixes this PR.
commit ebdcad3fddf6ec21f6d4dcc702379a12718cf0c4
Refs: [master], {upstream-write/master},
https://sourceware.org/bugzilla/show_bug.cgi?id=24685
Nelson Chu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
|--- |FIXED
CC||nelsonc1225 at sourceware dot
org
--- Comment #3 from Nelson Chu ---
Marked resolved/fixed.
--
You are receiving this mail because:
You are on the CC list for the bug.
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=edit
proposed solution v2
Fixed the conflicts since the v1 patch is too old.
After applying this patch, the "call
https://sourceware.org/bugzilla/show_bug.cgi?id=27433
Nelson Chu changed:
What|Removed |Added
Attachment #13231|0 |1
is obsolete|
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
https://sourceware.org/bugzilla/show_bug.cgi?id=27433
Nelson Chu changed:
What|Removed |Added
Target||riscv*-*-*
--
You are receiving this
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=edit
proposed solution
--
You are receiving this mail because:
You are on the CC list for the bug.
tatus: 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. Orig
https://sourceware.org/bugzilla/show_bug.cgi?id=24685
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
1 - 100 of 101 matches
Mail list logo