[Bug gas/31343] MIPS: correct behavior of branch to an imm?

2024-02-06 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31343 --- Comment #3 from YunQiang Su --- (In reply to YunQiang Su from comment #2) > Thank you so much. I understand it now: It is used to branch to an absolute > address with branch instructions. > > So it should never be used for PIC/PIE code?

[Bug gas/31343] MIPS: correct behavior of branch to an imm?

2024-02-06 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31343 --- Comment #2 from YunQiang Su --- Thank you so much. I understand it now: It is used to branch to an absolute address with branch instructions. So it should never be used for PIC/PIE code? (if we want to add a more dynamic relocation) I

[Bug gas/31343] MIPS: correct behavior of branch to an imm?

2024-02-06 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31343 YunQiang Su changed: What|Removed |Added CC||macro at orcam dot me.uk,

[Bug gas/31343] New: MIPS: correct behavior of branch to an imm?

2024-02-06 Thread syq at debian dot org
: gas Assignee: unassigned at sourceware dot org Reporter: syq at debian dot org Target Milestone: --- Some code like: b (0) generates the binary like: <.text>: 0: 1000 b 0x0 0: R_MIPS_PC16 *ABS* 4: nop It will cause som

[Bug gprofng/30910] gprofng cross test fail: can't read "CHECK_TARGET": no such variable

2023-10-06 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30910 YunQiang Su changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug gprofng/30910] gprofng cross test fail: can't read "CHECK_TARGET": no such variable

2023-10-04 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30910 --- Comment #2 from YunQiang Su --- I use git master, aka https://sourceware.org/git/binutils-gdb.git. > name -a Linux vm-1 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-1 (2023-07-14) x86_64 GNU/Linux The operating system is Debian.

[Bug gprofng/30910] New: gprofng cross test fail: can't read "CHECK_TARGET": no such variable

2023-09-28 Thread syq at debian dot org
Severity: normal Priority: P2 Component: gprofng Assignee: vladimir.mezentsev at oracle dot com Reporter: syq at debian dot org Target Milestone: --- mkdir build cd build ../configure --target=aarch64-linux-gnu make make check Using ../../gprofng/testsu

[Bug ld/30607] [2.41 Regression] several regressions for mipsen targets

2023-07-02 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30607 --- Comment #2 from YunQiang Su --- It's due to some not very clean patches pushed by me, can then reverted by Maciej later. We are working on to renew these patches. -- You are receiving this mail because: You are on the CC list for the

[Bug gas/30153] MIPS: gccrs failed to bootstrap with -mfix-loongson3-llsc

2023-04-23 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30153 YunQiang Su changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug binutils/25136] mips64: set abi as N64 when the ABI section triple is gnuabi64

2023-04-23 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25136 YunQiang Su changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug ld/25494] [MIPS] default output as r6 when default target as r6

2023-04-23 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25494 YunQiang Su changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug gas/30153] MIPS: gccrs failed to bootstrap with -mfix-loongson3-llsc

2023-03-23 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30153 --- Comment #2 from YunQiang Su --- Patches here: https://sourceware.org/pipermail/binutils/2023-March/126756.html -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/25494] [MIPS] default output as r6 when default target as r6

2023-02-23 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25494 --- Comment #4 from YunQiang Su --- New patch: https://sourceware.org/pipermail/binutils/2023-February/126283.html -- You are receiving this mail because: You are on the CC list for the bug.

[Bug gas/30153] MIPS: gccrs failed to bootstrap with -mfix-loongson3-llsc

2023-02-21 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30153 --- Comment #1 from YunQiang Su --- Created attachment 14704 --> https://sourceware.org/bugzilla/attachment.cgi?id=14704=edit asm code without debug info This 2 asm files should result out the same binary code, while not if

[Bug gas/30153] New: MIPS: gccrs failed to bootstrap with -mfix-loongson3-llsc

2023-02-21 Thread syq at debian dot org
Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: syq at debian dot org Target Milestone: --- Created attachment 14703 --> https://sourceware.org/bugzilla/attachment.cgi?id=14703=edit The asm code https://gcc.gnu.org/bugzi

[Bug ld/28009] New: mark .gnu.debuglto_.debug_* as SHT_MIPS_DWARF

2021-06-28 Thread syq at debian dot org
Component: ld Assignee: unassigned at sourceware dot org Reporter: syq at debian dot org Target Milestone: --- See also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99488 When LTO is enabled, debug sections have names like .gnu.debuglto_.debug_* and which type is marked

[Bug gold/27704] MIPS: remove SHT_REL support for NewABI elf backends

2021-04-07 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27704 --- Comment #2 from YunQiang Su --- It is dead code removal. I think that no testcase is needed. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug gold/27704] MIPS: remove SHT_REL support for NewABI elf backends

2021-04-06 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27704 YunQiang Su changed: What|Removed |Added CC||syq at debian dot org

[Bug gold/27704] New: MIPS: remove SHT_REL support for NewABI elf backends

2021-04-06 Thread syq at debian dot org
Component: gold Assignee: ccoutant at gmail dot com Reporter: syq at debian dot org CC: ian at airs dot com Target Milestone: --- Given that MIPS NewABI ELF always use SHT_RELA in realworld, and our SHT_REL implementation in backend is incomplete, it filled

[Bug binutils/25136] mips64: set abi as N64 when the ABI section triple is gnuabi64

2021-02-28 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25136 --- Comment #5 from YunQiang Su --- (In reply to Maciej W. Rozycki from comment #4) > As to making the default ABI/ISA configurable I would recommend reusing > the approach we have taken with GCC, that is to provide `--with-abi=', >

[Bug ld/25494] [MIPS] default output as r6 when default target as r6

2021-02-28 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25494 --- Comment #3 from YunQiang Su --- (In reply to Maciej W. Rozycki from comment #2) > For linking in raw binary chunks of data the best approach is to use GAS > and its .incbin pseudo-op, e.g.: > > $ cat xx.s > .incbin xx.dat > $

[Bug binutils/25136] mips64: set abi as N64 when the ABI section triple is gnuabi64

2020-03-01 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25136 --- Comment #3 from YunQiang Su --- we need to fix the testsuite -- You are receiving this mail because: You are on the CC list for the bug.

[Bug gas/25539] fix-loongson3-llsc cannot produce `sync` when there are multi label at the same address

2020-02-28 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25539 YunQiang Su changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug gas/25539] New: fix-loongson3-llsc cannot produce `sync` when there are multi label at the same address

2020-02-12 Thread syq at debian dot org
Severity: normal Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: syq at debian dot org Target Milestone: --- Created attachment 12292 --> https://sourceware.org/bugzilla/attachment.cgi?id=12292=edit look back for

[Bug binutils/25136] mips64: set abi as N64 when the ABI section triple is gnuabi64

2020-02-02 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25136 --- Comment #2 from YunQiang Su --- https://sources.debian.org/patches/binutils/2.33.90.20200122-2/mips64-default-n64.diff/ -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/25494] New: [MIPS] default output as r6 when default target as r6

2020-02-02 Thread syq at debian dot org
Component: ld Assignee: unassigned at sourceware dot org Reporter: syq at debian dot org Target Milestone: --- Created attachment 12247 --> https://sourceware.org/bugzilla/attachment.cgi?id=12247=edit 0001-MIPS-default-output-as-r6-when-default-target-as-r6.patch curren

[Bug ld/25494] [MIPS] default output as r6 when default target as r6

2020-02-02 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25494 --- Comment #1 from YunQiang Su --- Created attachment 12248 --> https://sourceware.org/bugzilla/attachment.cgi?id=12248=edit fix testsuite -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/25136] mips64: set abi as N64 when the ABI section triple is gnuabi64

2019-10-27 Thread syq at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25136 --- Comment #1 from YunQiang Su --- The reason change mips64* to mips*64* is that for MIPS r6, we use something like mipsisa64r6el-linux-gnuabi64 Since config.guess and config.sub use it. -- You are receiving this mail because:

[Bug binutils/25136] New: mips64: set abi as N64 when the ABI section triple is gnuabi64

2019-10-27 Thread syq at debian dot org
Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: syq at debian dot org Target Milestone: --- https://sources.debian.org/patches/binutils/2.33.1-2/mips64-default-n64.diff/ For historical reasons, mips64*-linux-gnu is set

[Bug ld/24832] New: mips: convert from data to object always generate MIPS I

2019-07-22 Thread syq at debian dot org
Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: syq at debian dot org Target Milestone: --- $ echo "abc" > xx.dat $ mips64el-linux-gnuabi64-ld -r -b binary xx.dat -o xx.o $ file xx.o xx.o: ELF 64-bit LSB relocatable,