[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/13322] New: ARM/Thumb interwork stubs should appear in some wa
From: |
mh-sourceware at glandium dot org |
Subject: |
[Bug gold/13322] New: ARM/Thumb interwork stubs should appear in some way in the symbol table |
Date: |
Wed, 19 Oct 2011 16:32:18 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=13322
Bug #: 13322
Summary: ARM/Thumb interwork stubs should appear in some way in
the symbol table
Product: binutils
Version: 2.23 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gold
AssignedTo: address@hidden
ReportedBy: address@hidden
CC: address@hidden
Classification: Unclassified
$ cat <<EOF >test.c
#include <stdio.h>
void foo() {
printf("foo\n");
}
EOF
$ gcc -o test.so -shared test.c -mthumb -fPIC -Os -march=armv7-a
$ objdump -d -j .text test.so
test.so: file format elf32-littlearm
Disassembly of section .text:
000001f0 <foo>:
1f0: 4801 ldr r0, [pc, #4] ; (1f8 <foo+0x8>)
1f2: 4478 add r0, pc
1f4: f000 b802 b.w 1fc <foo+0xc>
1f8: 00000016 .word 0x00000016
1fc: 46c04778 .word 0x46c04778
200: e59fc000 .word 0xe59fc000
204: e08cf00f .word 0xe08cf00f
208: ffffffd8 .word 0xffffffd8
$ objdump -t test.so | grep text
000001f0 g F .text 0000000c foo
So everything from 1fc to 20c, which is the stub, is unaccounted for. Same
applies for ARM->Thumb stubs (this one being the opposite direction)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug gold/13322] New: ARM/Thumb interwork stubs should appear in some way in the symbol table,
mh-sourceware at glandium dot org <=