kvx: New port.

This commit is contained in:
Paul Iannetta
2023-08-16 14:22:28 +01:00
committed by Nick Clifton
parent 7d6a2e34ee
commit 6e712424f5
125 changed files with 191062 additions and 15 deletions

View File

@@ -41,6 +41,7 @@ proc is_elf_format {} {
&& ![istarget *-*-irix5*]
&& ![istarget *-*-irix6*]
&& ![istarget *-*-kaos*]
&& ![istarget kvx-*-*]
&& ![istarget *-*-*linux*]
&& ![istarget *-*-lynxos*]
&& ![istarget *-*-nacl*]
@@ -255,6 +256,7 @@ proc supports_gnu_osabi {} {
if { [istarget "arm*-*-*"]
|| [istarget "msp430-*-*"]
|| [istarget "hppa-unknown-elf"]
|| [istarget "kvx*-*-*"]
|| [istarget "visium-*-*"] } {
return 0
}
@@ -371,6 +373,11 @@ proc check_pie_support { } {
global pie_available_saved
global ld
## kvx-*-* does support -shared but not PIE.
if { [istarget "kvx*-*-*"] && ![istarget "kvx*-linux-*"] } {
set pie_available_saved 0
}
if {![info exists pie_available_saved]} {
set ld_output [remote_exec host $ld "-pie"]
if { [ string first "not supported" $ld_output ] >= 0 } {