Re: [PATCH] install -s -s(trip-me-harder)

2001-08-22 Thread Kris Kennaway
On Wed, Aug 22, 2001 at 09:26:44AM -0700, David O'Brien wrote: > On Wed, Aug 22, 2001 at 01:40:07AM -0700, Kris Kennaway wrote: > > > Getting rid of .note[.ABI-tag] will interfere with ELF branding. > > > > How will it do so? > > This is the ELF ABI standard-approved way of doing ELF branding: >

Re: [PATCH] install -s -s(trip-me-harder)

2001-08-22 Thread David O'Brien
On Wed, Aug 22, 2001 at 01:40:07AM -0700, Kris Kennaway wrote: > > Getting rid of .note[.ABI-tag] will interfere with ELF branding. > > How will it do so? This is the ELF ABI standard-approved way of doing ELF branding: Section Headers: [Nr] Name TypeAddr OffSiz

Re: [PATCH] install -s -s(trip-me-harder)

2001-08-22 Thread Kris Kennaway
On Wed, Aug 22, 2001 at 12:42:50AM -0700, David O'Brien wrote: > On Mon, Aug 20, 2001 at 12:16:54AM -0700, Kris Kennaway wrote: > > + execlp("strip", "strip", "-s", "-R", ".comment", > > + "-R", ".note", "-N", "gcc2_compiled", > > Getting rid of .note[.A

Re: [PATCH] install -s -s(trip-me-harder)

2001-08-22 Thread David O'Brien
On Mon, Aug 20, 2001 at 12:16:54AM -0700, Kris Kennaway wrote: > + execlp("strip", "strip", "-s", "-R", ".comment", > +"-R", ".note", "-N", "gcc2_compiled", Getting rid of .note[.ABI-tag] will interfere with ELF branding. -- -- David ([EMAIL PROT

Re: [PATCH] install -s -s(trip-me-harder)

2001-08-20 Thread Alfred Perlstein
* Kris Kennaway <[EMAIL PROTECTED]> [010820 03:26] wrote: > On Mon, Aug 20, 2001 at 01:19:05AM -0700, Peter Wemm wrote: > > > Regarding stripping gcc2_compiled.. strip can only filter symbols from > > the .symtab and .symstr symbol tables. Since strip already removes both > > of those sections,

Re: [PATCH] install -s -s(trip-me-harder)

2001-08-20 Thread Kris Kennaway
On Mon, Aug 20, 2001 at 01:19:05AM -0700, Peter Wemm wrote: > Regarding stripping gcc2_compiled.. strip can only filter symbols from > the .symtab and .symstr symbol tables. Since strip already removes both > of those sections, the -N gcc2_compiled is useless. strip cannot modify > the .dynsym

Re: [PATCH] install -s -s(trip-me-harder)

2001-08-20 Thread Peter Wemm
Kris Kennaway wrote: > + execlp("strip", "strip", "-s", "-R", ".comment", > +"-R", ".note", "-N", "gcc2_compiled", > +to_name, (char *)NULL); Some comments: .note: used in ELF branding. gcc2_compiled: used by

[PATCH] install -s -s(trip-me-harder)

2001-08-19 Thread Kris Kennaway
What do people think about the following patch to install(1) to make it strip additional useless (at runtime - they may be used for debugging purposes) symbols and ELF sections from binaries at install-time, if the '-s' option is used multiple times? This usually saves a few tens of kilobytes per