[PATCH] 'add symbol' feature in objcopy

Tejas Belagod tejas.belagod@foss.arm.com
Fri Nov 20 14:44:00 GMT 2015


Nick,

Is this OK to backport to 2.26?

Thanks,
Tejas.

> 
> -----Original Message-----
> From: binutils-owner@sourceware.org [mailto:binutils-
> owner@sourceware.org] On Behalf Of Nick Clifton
> Sent: 20 November 2015 14:10
> To: Ronald Hoogenboom; fracting@gmail.com
> Cc: binutils@sourceware.org
> Subject: Re: [PATCH] 'add symbol' feature in objcopy
> 
> Hi Ronald,
> 
> > Apparently, the strndup function is not 'portable' enough for mingw-w64.
> > There seems to be a xstrndup function in libiberty that could be used
> > instead. I'm sorry I don't have all the possible compilers handy to
> > verify all possible targets, but this should do.
> 
> Thanks - I have gone ahead and checked this patch in along with the
> following copyright notice.
> 
> Cheers
>    Nick
> 
> binutils/ChangeLog
> 2015-11-20  Ronald Hoogenboom  <hoogenboom30@zonnet.nl>
> 
>         * objcopy.c (parse_symflags): Use xstrndup in place of strndup.
>         (copy_main): Likewise.
> 
> 




More information about the Binutils mailing list