]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kernel: on OL6 only, simulate the gcc 4.4 kABI for __stack_chk_fail()
authorTodd Vierling <todd.vierling@oracle.com>
Fri, 9 Feb 2018 21:58:34 +0000 (16:58 -0500)
committerJack Vogel <jack.vogel@oracle.com>
Mon, 12 Feb 2018 18:07:21 +0000 (10:07 -0800)
commit5cca067f8b78c0d8f90cd47abdec5fd3bed28e45
treecb7af6fc2277ea4ef30df173b7e8a4d305497c06
parent7c52874b38b025f8df44fa3124f4b613b4ed345f
kernel: on OL6 only, simulate the gcc 4.4 kABI for __stack_chk_fail()

The __visible linkage changes st_value calculation for genksyms on newer
compilers such as OL7's 4.8 and SCL's 4.9. However, this symbol is in
the kABI whitelist and needs to retain its old st_value, even though the
guts of the compiled function have not changed.

Add a special directive, CONFIG_SIMULATE_GCC44_KABI, which will mask the
__visible qualifier at genksyms time; and use it only on OL6 builds.

Orabug: 27509351
Signed-off-by: Todd Vierling <todd.vierling@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Kconfig
kernel/panic.c
uek-rpm/ol6/config-x86_64
uek-rpm/ol6/config-x86_64-debug