https://sourceware.org/bugzilla/show_bug.cgi?id=28733
Nelson Chu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
||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=29341
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=29004
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
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
||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=24226
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=24683
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
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=28509
Nelson Chu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
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=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.
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=13302
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
https://sourceware.org/bugzilla/show_bug.cgi?id=30259
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
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=30282
Nelson Chu changed:
What|Removed |Added
Summary|risc-v: objdump îs really |risc-v: objdump is really
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
Attachment #14785|0 |1
is patch|
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=25694
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
Last reconfirmed||2023-05-10
Status|RESOLVED
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=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=30449
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
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=25694
Nelson Chu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
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=31179
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
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
--- 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
Nelson Chu changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
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=27180
Nelson Chu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
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=31969
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
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=32001
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=32036
Nelson Chu changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=27200
Nelson Chu changed:
What|Removed |Added
CC||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
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.
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.
https://sourceware.org/bugzilla/show_bug.cgi?id=27433
Nelson Chu changed:
What|Removed |Added
Target||riscv*-*-*
--
You are receiving this ma
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
Attachment #13231|0 |1
is obsolete|
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
|--- |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=24685
Nelson Chu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
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},
users/ARM/embedded-gdb-m
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 pad
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=27584
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
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 n
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
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,
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=27732
Nelson Chu changed:
What|Removed |Added
Target||riscv*-*-*
--
You are receiving this ma
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=27433
Nelson Chu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
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=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
--- 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=27732
Nelson Chu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
||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=27566
Nelson Chu changed:
What|Removed |Added
Target||riscv*-*-*
--
You are receiving this ma
https://sourceware.org/bugzilla/show_bug.cgi?id=27215
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=25258
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=27180
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
Attachment #13402|application/mbox|text/plain
mime type|
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
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=27809
Nelson Chu changed:
What|Removed |Added
Target||riscv*-*-*
--
You are receiving this ma
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=25212
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
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=27916
Nelson Chu changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |nelsonc1225 at
sourceware dot
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=24676
Nelson Chu changed:
What|Removed |Added
CC||chschandan at gmail dot com
--- Comment
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=27566
Nelson Chu changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
||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=24769
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=28372
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
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=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
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 #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 #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 #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
Nelson Chu changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=28441
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=28610
Nelson Chu changed:
What|Removed |Added
CC||nelsonc1225 at sourceware dot
org
1 - 100 of 117 matches
Mail list logo