summaryrefslogtreecommitdiffstats
path: root/libfdt
Commit message (Collapse)AuthorAgeFilesLines
* build: use thin archives rather than incremental linkingNicholas Piggin2018-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | This changes to build system to use thin archives rather than incremental linking for built-in.o, similar to recent change to Linux. built-in.o is renamed to built-in.a, and is created as a thin archive with no index, for speed and size. All built-in.a are aggregated into a skiboot.tmp.a which is a thin archive built with an index, making it suitable or linking. This is input into the final link. The advantags of build size and linker code placement flexibility are not as great with skiboot as a bigger project like Linux, but it's a conceptually better way to build, and is more compatible with link time optimisation in toolchains which might be interesting for skiboot particularly for size reductions. Size of build tree before this patch is 34.4MB, afterwards 23.1MB. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* libfdt: add basic sanity check to fdt_open_intoStewart Smith2015-11-171-0/+4
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Fix spelling mistakesStewart Smith2015-08-261-2/+2
| | | | | | See https://github.com/lucasdemarchi/codespel Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Fix incorrect size argument resulting from incorrect fix of unbounded stack ↵Stewart Smith2015-06-121-1/+1
| | | | | | | | | usage Luckily, thanks to boot coverage report, we never called this function: http://open-power.github.io/skiboot/boot-coverage-report/libfdt/fdt_sw.c.gcov.html Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* sparse: fix declaration of fdt_strerrorCédric Le Goater2015-02-262-2/+3
| | | | | Signed-off-by: Cédric Le Goater <clg@fr.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Fix warning of unbounded stack in libfdt/fdt_sw.cStewart Smith2014-12-101-1/+6
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Initial commit of Open Source releaseBenjamin Herrenschmidt2014-07-0214-0/+3130
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
OpenPOWER on IntegriCloud