[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/25380] Support section linkage 'unique' (multiple sections with
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug gas/25380] Support section linkage 'unique' (multiple sections with the same name) |
Date: |
Sat, 01 Feb 2020 15:04:32 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25380
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2020-02-01
Ever confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Fangrui Song from comment #0)
> Clang's integrated assembler supports multiple section with the same name.
>
> % cat a.s
> .section .text,"ax",@progbits,unique,1
> nop
> .section .text,"ax",@progbits,unique,2
> nop
How does it work together with comdat group like
.section .text.bar,"axG",@progbits,bar,comdat
.globl bar
.type bar, @function
bar:
ret
Section name is used to specify sections in assembly codes. Will
.section .text,N,"axG",@progbits,bar,comdat
.globl bar
.type bar, @function
bar:
ret
and
.section .text,N,"ax",@progbits
.globl bar
.type bar, @function
bar:
ret
work better? .section .text,N can be used to identify the Nth .text
section, which may or may not belong to a comdat group.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/25380] Support section linkage 'unique' (multiple sections with the same name),
hjl.tools at gmail dot com <=
- [Bug gas/25380] Support section linkage 'unique' (multiple sections with the same name), hjl.tools at gmail dot com, 2020/02/01
- [Bug gas/25380] Support section linkage 'unique' (multiple sections with the same name), hjl.tools at gmail dot com, 2020/02/01
- [Bug gas/25380] Support section linkage 'unique' (multiple sections with the same name), hjl.tools at gmail dot com, 2020/02/01
- [Bug gas/25380] Support section linkage 'unique' (multiple sections with the same name), hjl.tools at gmail dot com, 2020/02/01
- [Bug gas/25380] Support section linkage 'unique' (multiple sections with the same name), hjl.tools at gmail dot com, 2020/02/01
- [Bug gas/25380] Support section linkage 'unique' (multiple sections with the same name), i at maskray dot me, 2020/02/01
- [Bug gas/25380] Support section linkage 'unique' (multiple sections with the same name), hjl.tools at gmail dot com, 2020/02/02
- [Bug gas/25380] Support section linkage 'unique' (multiple sections with the same name), hjl.tools at gmail dot com, 2020/02/02
- [Bug gas/25380] Support section linkage 'unique' (multiple sections with the same name), hjl.tools at gmail dot com, 2020/02/02
- [Bug gas/25380] Support section linkage 'unique' (multiple sections with the same name), cvs-commit at gcc dot gnu.org, 2020/02/02