mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 13:13:57 +08:00
e46daee53b
The arm compiler internally interprets an inline assembly label
as an unsigned long value, not a pointer. As a result, under
CONFIG_FORTIFY_SOURCE, the address of a label has a size of 4 bytes,
which was tripping the runtime checks. Instead, we can just cast the label
(as done with the size calculations earlier).
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1639397
Reported-by: William Cohen <wcohen@redhat.com>
Fixes:
|
||
---|---|---|
.. | ||
kprobes | ||
uprobes | ||
decode-arm.c | ||
decode-arm.h | ||
decode-thumb.c | ||
decode-thumb.h | ||
decode.c | ||
decode.h | ||
Makefile |