aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/symbols.py
diff options
context:
space:
mode:
authorLuc Van Oostenryck <[email protected]>2017-10-31 18:22:02 +0100
committerMark Salter <[email protected]>2018-04-10 09:58:58 -0400
commit85fa2cc51104ee5b529ce85b12f4c8421888544f (patch)
tree8c775705f51d8c92a463e354955b85b32e0db965 /scripts/gdb/linux/symbols.py
parent319938bd6f07e59ba55dff0abb3b51f5230a8f24 (diff)
c6x: pass endianness info to sparse
c6x depends on the macro '_BIG_ENDIAN' being defined or not to correctly select or define endian-specific macros, structures or pieces of code. This macro is predefined by the compiler but sparse knows nothing about it and thus may pre-process files differently from what gcc would. Fix this by passing '-D_BIG_ENDIAN' when compiling a big-endian kernel, like GCC would have done. To: Mark Salter <[email protected]> To: Aurelien Jacquiot <[email protected]> CC: [email protected] Signed-off-by: Luc Van Oostenryck <[email protected]> Signed-off-by: Mark Salter <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions