This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: [PATCH] 'add symbol' feature in objcopy
- From: "Tejas Belagod" <tejas dot belagod at foss dot arm dot com>
- To: "'Tristan Gingold'" <gingold at adacore dot com>
- Cc: <binutils at sourceware dot org>
- Date: Fri, 20 Nov 2015 15:29:50 -0000
- Subject: RE: [PATCH] 'add symbol' feature in objcopy
- Authentication-results: sourceware.org; auth=none
- References: <561D4796 dot 2080400 at atom dot grundel> <CALd+sZQZtJWcgc_U7ofBn2ezq4SToOQ=F+016_--pgA0LbKnSg at mail dot gmail dot com> <5639305F dot 8030406 at atom dot grundel> <564F29D2 dot 3070500 at redhat dot com> <DB3PR08MB0124FB69478D89165CD05F8CEA1A0 at DB3PR08MB0124 dot eurprd08 dot prod dot outlook dot com>
Hi Tristian,
Is this patch OK to backport to 2.26?
Thanks,
Tejas.
> -----Original Message-----
> From: Tejas Belagod [mailto:tejas.belagod@foss.arm.com]
> Sent: 20 November 2015 14:44
> To: 'Nick Clifton'; 'Ronald Hoogenboom'
> Cc: binutils@sourceware.org
> Subject: 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.
> >
> >