Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 2014 15:31:54 +0000
From:      "emaste (Ed Maste)" <phabric-noreply@FreeBSD.org>
To:        freebsd-toolchain@freebsd.org
Subject:   [Differential] [Request, 11 lines] D1341: Set up default shstrtab entries at initialization
Message-ID:  <differential-rev-PHID-DREV-cmpu33fc374bkk7lriyd-req@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
emaste created this revision.
emaste added a subscriber: freebsd-toolchain.

REVISION SUMMARY
  If we use -R to remove all sections we still need a .shstrtab (which will itself be the only section entry). Do not wait until the addition of the first non-default entry to create the default ones.
  
  Elftoolchain ticket 463
  https://sourceforge.net/p/elftoolchain/tickets/463/

TEST PLAN
  ```
  touch empty.s
  make empty.o
  strip -o empty-stripped.o -R .text -R .data -R .bss -R .ARM.attributes -R .reginfo -R .gnu.attributes -R .MIPS.abiflags -R .pdr -R .xtensa.info empty.o
  readelf -S empty.o
  ```

REVISION DETAIL
  https://reviews.freebsd.org/D1341

AFFECTED FILES
  elfcopy/sections.c

To: emaste
Cc: freebsd-toolchain



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?differential-rev-PHID-DREV-cmpu33fc374bkk7lriyd-req>