[Bug default/26146] New: No type information for ARM thumb object files
sourceware at rahix dot de
sourceware-bugzilla@sourceware.org
Sun Jun 21 11:36:24 GMT 2020
https://sourceware.org/bugzilla/show_bug.cgi?id=26146
Bug ID: 26146
Summary: No type information for ARM thumb object files
Product: libabigail
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: default
Assignee: dodji at redhat dot com
Reporter: sourceware at rahix dot de
CC: libabigail at sourceware dot org
Target Milestone: ---
Created attachment 12630
--> https://sourceware.org/bugzilla/attachment.cgi?id=12630&action=edit
ARM thumb object file for reproduction
It looks like libabigail fails to extract type information from ARM thumb
object files.
Compiling a test file using 'arm-none-eabi-gcc -g' produces an object file
that libabigail can extract type information from, but 'arm-none-eabi-gcc
-g -mthumb' does not. The object file does contain debug symbols as I can
see with `eu-readelf --debug-dump=info`.
Using `abidw` I just get this:
<abi-corpus path='thumb.o' architecture='elf-arm'>
<elf-function-symbols>
<!-- func_a -->
<elf-symbol name='func_a' type='func-type' binding='global-binding'
visibility='default-visibility' is-defined='yes'/>
<!-- func_b -->
<elf-symbol name='func_b' type='func-type' binding='global-binding'
visibility='default-visibility' is-defined='yes'/>
</elf-function-symbols>
</abi-corpus>
The source for the test file was:
int func_a(char *buf, unsigned char len)
{
return -1;
}
char *func_b(char *ptr, void *ptr2)
{
return NULL;
}
I've attached the object file.
Regards,
Rahix
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libabigail
mailing list