bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ld segfault -> NULL pointer dereference in bfd/elf32-ppc.c


From: Adrien Demarez
Subject: ld segfault -> NULL pointer dereference in bfd/elf32-ppc.c
Date: Mon, 7 Dec 2009 10:30:15 +0100

Hello,

I experience an ld segfault when trying to compile QT4.6 in OpenEmbedded/Angstrom for the PPC platform (MPC8313 more precisely). The following patch (against the CVS version) solves this : after having a look at the core file, the return value from find_plt_ent() is not checked in several points, leading to a NULL pointer dereference in some situations.

Attachment: binutils-elf32-ppc.patch
Description: Binary data


N.B.: I still have error messages such as "Error: Unrecognized opcode: `slwi'", but at least ld does no longer segfault. Does anyone know how to solve this unrecognized opcode issue ?

Best regards,

--
Adrien Demarez
Bolloré telecom
Bureaux/Office : 11bis, rue Scribe | F-75009 Paris
Tel : +33 1 78 14 04 08

>> WiMAX is here and across Europe! See us @ http://www.wimaxoperators.org/regional/europe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]