[PATCH, newlib] Allow locking routine to be retargeted

Thomas Preudhomme thomas.preudhomme@foss.arm.com
Thu Jan 12 10:52:00 GMT 2017



On 11/01/17 19:14, Freddie Chopin wrote:
> On Wed, 2017-01-11 at 17:48 +0000, Thomas Preudhomme wrote:
>> Very well. How about the attached patch?
>
> Hmm... Trying to apply that to newlib-2.5.0 fails with:
>
> (Stripping trailing CRs from patch; use --binary to disable.)
> patching file newlib/configure
> Hunk #1 succeeded at 802 (offset 4 lines).
> Hunk #2 succeeded at 1474 (offset 4 lines).
> Hunk #3 succeeded at 2476 (offset 4 lines).
> Hunk #4 FAILED at 11790.
> Hunk #5 FAILED at 11896.
> Hunk #6 succeeded at 12469 (offset 34 lines).
> 2 out of 6 hunks FAILED -- saving rejects to file newlib/configure.rej

My bad. I've rebased it on latest master branch. Please find the patch attached.

Best regards,

Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newlib_retargetable_locking_routine.patch
Type: text/x-patch
Size: 23284 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20170112/145aafa5/attachment.bin>


More information about the Newlib mailing list