diff options
author | Tom Rini <trini@konsulko.com> | 2023-11-02 20:22:39 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-11-02 22:38:01 -0400 |
commit | 1e044a9bd68220af562cc2d895936ec7cc3e3d6d (patch) | |
tree | 946aa5cf48d00e014980e0f0c035ba1b417cc0bf /tools/buildman/builder.py | |
parent | 97962260cb93e74e3a8cbbb62e7581830503810a (diff) | |
parent | ae94c3d4ee21ba4dd628d2f463fb3992233963ef (diff) |
Merge tag 'dm-pull-2nov23' of https://source.denx.de/u-boot/custodians/u-boot-dm
Just various bugfixes, apart from the TI one
Diffstat (limited to 'tools/buildman/builder.py')
-rw-r--r-- | tools/buildman/builder.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py index 5305477c5be..3e42c987d1c 100644 --- a/tools/buildman/builder.py +++ b/tools/buildman/builder.py @@ -35,6 +35,10 @@ from u_boot_pylib.terminal import tprint # which indicates that BREAK_ME has an empty default RE_NO_DEFAULT = re.compile(b'\((\w+)\) \[] \(NEW\)') +# Symbol types which appear in the bloat feature (-B). Others are silently +# dropped when reading in the 'nm' output +NM_SYMBOL_TYPES = 'tTdDbBr' + """ Theory of Operation @@ -693,7 +697,7 @@ class Builder: parts = line.split() if line and len(parts) == 3: size, type, name = line.split() - if type in 'tTdDbB': + if type in NM_SYMBOL_TYPES: # function names begin with '.' on 64-bit powerpc if '.' in name[1:]: name = 'static.' + name.split('.')[0] |