This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH] 'add symbol' feature in objcopy


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.
> 
> 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]