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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"

Reply via email to