forked from open-power/skiboot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libfdt: sync to upstream dtc.git commit 45f3d1a095dd
sync to upstream dtc.git commit 45f3d1a095dd ("libfdt: overlay: make overlay_get_target() public") from previous upstream sync commit 243176c ("Fix bogus error on rebuild"). This mainly updates license headers, fixes one or two small bugs, sign mismatches, integer overflow, and cases of undefined behaviour, compile warnings for newer compilers, and introduces some checking options (which might be useful to speed up fdt operations on awan). The recipe for this patch is: $ cp ../dtc/libfdt/* libfdt/ $ git add libfdt/fdt_check.c $ rm libfdt/meson.build Then add the INT32_MAX define to libc/include/limits.h, and update libfdt/Makefile.inc and libfdt/README.skiboot. Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Cédric Le Goater <[email protected]>
- Loading branch information
Showing
19 changed files
with
665 additions
and
889 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,5 +32,6 @@ | |
#define CHAR_BIT 8 | ||
|
||
#define UINT32_MAX UINT_MAX | ||
#define INT32_MAX INT_MAX | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
skiboot/libfdt/ is a minimally modified version of upstream libfdt that is | ||
distributed with the dtc project hosted at github.com/dgibson/dtc.git. | ||
|
||
This version is taken from dtc commit 243176c ("Fix bogus error on rebuild") | ||
This version is taken from dtc.git commit 45f3d1a095dd ("libfdt: overlay: make | ||
overlay_get_target() public") by copying all files from the libfdt/ directory. | ||
|
||
The modifications from upstream are the additions of this file, and | ||
Makefile.inc which has been derived from Makefile.libfdt. | ||
The only modifications from the upstream source are the additions of this | ||
file, and Makefile.inc which has been derived from Makefile.libfdt, and | ||
the removal of meson.build. | ||
|
||
Local libfdt changes should be kept to a minimum, and submitted upstream if | ||
possible. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.