Re: [Elftoolchain-developers] Remaining FreeBSD ELF Tool Chain changes in the queue

2019-06-29 Thread Mark Johnston
On Sat, Jun 29, 2019 at 10:51:57PM +0100, Joseph Koshy via Elftoolchain-developers wrote: > > libelf: Use a red-black tree to manage the section list > > https://reviews.freebsd.org/D20443 > > Two questions here: Hi Joseph, > 1. Per the FreeBSD Phabricator entry the motivation >for this

Re: [Elftoolchain-developers] [PATCH] elfcopy: Stop using optind.

2019-07-30 Thread Mark Johnston
On Tue, Jul 30, 2019 at 09:08:38AM +0100, Joseph Koshy wrote: > Mark, > > On Fri, Jul 26, 2019 at 9:36 PM Mark Johnston wrote: > > > > This marginally simplifies the code. Writing argc--; argv++; after the > > option parsing loop is a common idiom anyway. &g

[Elftoolchain-developers] [PATCH] elfcopy: Stop using optind.

2019-07-26 Thread Mark Johnston
This marginally simplifies the code. Writing argc--; argv++; after the option parsing loop is a common idiom anyway. --- contrib/elftoolchain/elfcopy/main.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/contrib/elftoolchain/elfcopy/main.c

Re: [Elftoolchain-developers] addr2line improvements - sys/tree.h on Linux

2020-02-13 Thread Mark Johnston
On Thu, Feb 13, 2020 at 09:13:08PM +, Joseph Koshy via Elftoolchain-developers wrote: > Ed, > > > https://reviews.freebsd.org/rS357450 > > addr2line: Cache CU DIEs upon a successful address lookup > > In https://reviews.freebsd.org/D23418 there is mention of increased > memory usage, from

[Elftoolchain-developers] [patch] consistently exit with status 0 if --help is specified

2021-09-02 Thread Mark Johnston
Hi, I noticed that elftoolchain utilities are inconsistent with respect to the exit status when --help is specified. (Some software will test the status for some reason before proceeding to actually use the utility.) binutils equivalents consistently exit with status 0, so I expect it makes