aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorBen Hutchings <[email protected]>2023-03-22 19:11:45 +0100
committerMasahiro Yamada <[email protected]>2023-03-23 15:28:41 +0900
commitfb27e70f6e408dee5d22b083e7a38a59e6118253 (patch)
tree6c95885eb53dc1619ff2748d5820146af4fd0831 /scripts/gdb/linux/tasks.py
parent1073c15fd39e804ad36ff26a7c7d53b0ab51b184 (diff)
modpost: Fix processing of CRCs on 32-bit build machines
modpost now reads CRCs from .*.cmd files, parsing them using strtol(). This is inconsistent with its parsing of Module.symvers and with their definition as *unsigned* 32-bit values. strtol() clamps values to [LONG_MIN, LONG_MAX], and when building on a 32-bit system this changes all CRCs >= 0x80000000 to be 0x7fffffff. Change extract_crcs_for_object() to use strtoul() instead. Cc: [email protected] Fixes: f292d875d0dc ("modpost: extract symbol versions from *.cmd files") Signed-off-by: Ben Hutchings <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions