From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1B9FB386F82A; Sun, 21 Jun 2020 11:36:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B9FB386F82A From: "sourceware at rahix dot de" To: libabigail@sourceware.org Subject: [Bug default/26146] New: No type information for ARM thumb object files Date: Sun, 21 Jun 2020 11:36:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: libabigail X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sourceware at rahix dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dodji at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jun 2020 11:36:25 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26146 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=3D12630&action=3Ded= it 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=3Dinfo`. Using `abidw` I just get this: 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 --=20 You are receiving this mail because: You are on the CC list for the bug.=