[Skiboot] [RFC PATCH 0/2] couple of experimental build options

Nicholas Piggin npiggin at gmail.com
Thu Jan 5 20:35:46 AEDT 2017


Hi,

I just noticed these couple of things we can do pretty easily.
I don't know if they'd ever be of use in production, but maybe
interesting to test with.

If there's no interest merging them, I could just do a patch to
get rid of -ffunction-sections alone. I'm not sure why that's
being set there (see patch 2).

Thanks,
Nick


Nicholas Piggin (2):
  Initial support for the ELFv2 ABI
  Dead code and data elimination

 Makefile          | 10 +++++++++
 Makefile.main     | 21 +++++++++++++++--
 asm/head.S        |  1 +
 core/init.c       | 18 ++++++++++-----
 core/opal.c       |  8 +++----
 include/elf-abi.h | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 skiboot.lds.S     |  5 ++---
 7 files changed, 114 insertions(+), 16 deletions(-)
 create mode 100644 include/elf-abi.h

-- 
2.11.0



More information about the Skiboot mailing list