[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/28211] New: gas puts local labels in the symbol talble if @GOTO
From: |
pinskia at gcc dot gnu.org |
Subject: |
[Bug gas/28211] New: gas puts local labels in the symbol talble if @GOTOFF is used in rodata |
Date: |
Mon, 09 Aug 2021 05:56:03 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28211
Bug ID: 28211
Summary: gas puts local labels in the symbol talble if @GOTOFF
is used in rodata
Product: binutils
Version: 2.30
Status: NEW
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
Created attachment 13605
--> https://sourceware.org/bugzilla/attachment.cgi?id=13605&action=edit
test assembly file
>From https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43025 .
Assemble attach .s file on 32bit i686 and do nm on the object file:
[apinski@xeond2 upstream-gcc-git]$ as --32 -o t55.o t55.s
[apinski@xeond2 upstream-gcc-git]$ nm t55.o
00000000 T fn
U _GLOBAL_OFFSET_TABLE_
00000039 t .L10
00000032 t .L11
0000002b t .L12
00000024 t .L13
00000063 t .L3
0000005c t .L5
00000055 t .L6
0000004e t .L7
00000047 t .L8
00000040 t .L9
00000000 T __x86.get_pc_thunk.ax
----- CUT ---
Jakub mentions in the gcc bug:
I'd say this is a gas bug, I don't see why if we don't need on x86 the local
symbols in .long .L3 or call .L3 cases, we don't need it for .long .L3@GOTOFF
either, resolving it to .text + <offset> is perfectly fine.
------ CUT -----
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/28211] New: gas puts local labels in the symbol talble if @GOTOFF is used in rodata,
pinskia at gcc dot gnu.org <=
- [Bug gas/28211] gas puts local labels in the symbol talble if @GOTOFF is used in rodata, hjl.tools at gmail dot com, 2021/08/09
- [Bug gas/28211] gas puts local labels in the symbol talble if @GOTOFF is used in rodata, pinskia at gcc dot gnu.org, 2021/08/09
- [Bug gas/28211] gas puts local labels in the symbol talble if @GOTOFF is used in rodata, pinskia at gcc dot gnu.org, 2021/08/09
- [Bug gas/28211] gas puts local labels in the symbol talble if @GOTOFF is used in rodata, pinskia at gcc dot gnu.org, 2021/08/09
- [Bug gas/28211] gas puts local labels in the symbol talble if @GOTOFF is used in rodata, hjl.tools at gmail dot com, 2021/08/11