[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/18451] New: Inefficient .strtab implementation
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug gas/18451] New: Inefficient .strtab implementation |
Date: |
Sat, 23 May 2015 14:22:42 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=18451
Bug ID: 18451
Summary: Inefficient .strtab implementation
Product: binutils
Version: 2.26 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
address@hidden strtab-1]$ cat x.S
#define GLOBAL(x) .globl x; x
.text
GLOBAL(x):
GLOBAL(xx):
GLOBAL(xxx):
GLOBAL(xxxx):
GLOBAL(xxxxx):
GLOBAL(xxxxxx):
mov %eax,%edx
address@hidden strtab-1]$ gcc -c x.S
address@hidden strtab-1]$ readelf -x 6 x.o
Hex dump of section '.strtab':
0x00000000 00780078 78007878 78007878 78780078 .x.xx.xxx.xxxx.x
0x00000010 78787878 00787878 78787800 xxxx.xxxxxx.
address@hidden strtab-1]$
They can share a single "xxxxxx" entry.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/18451] New: Inefficient .strtab implementation,
hjl.tools at gmail dot com <=