Commit Graph

56 Commits

Author SHA1 Message Date
Zbigniew Bodek 064427fcaf Allow enabling SSP for platforms that don't randomize canary
HiSilicon-specific randomization routine for the __stack_chk_guard
should not be called for other platforms that don't implement
this function.
Fix build for targets that don't link with HiSi libraries when
stack smashing protector is enabled.

Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: I1843c897b32991fddc3d0ba362d188c4a621d052
2020-11-17 23:07:01 +08:00
Zbigniew Bodek 4188734ee4 Allow to disable stack protector feature
Currently disabling stack protector will cause build to fail.
This commit will fix that problem and allow to toggle feature
when needed.

Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: Iee8ccfdb9fce4ba69aa557e2ac915ddc45b2f21e
2020-11-17 23:07:01 +08:00
laokz 94542ad4b6 修正符号typo 2020-10-19 17:48:22 +08:00
Caoruihong 63bd69267a drop unnecessary executable file permission mode
Change-Id: Ia6c1f6302407a707b3ec9b805f4c92d8a7970b86
2020-10-13 16:37:25 +08:00
l00517597 14ed17ca76 Description:Fix the offset calculating of pc and lr in elf file.
Reviewed-by:huangjieliang zhushengle
2020-09-28 15:37:47 +08:00
wenjun 6df931fc98 add OpenHarmony 1.0 baseline 2020-09-08 17:22:24 +08:00