forked from Imagelibrary/binutils-gdb
kvx: New port.
This commit is contained in:
committed by
Nick Clifton
parent
7d6a2e34ee
commit
6e712424f5
@@ -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 } {
|
||||
|
||||
Reference in New Issue
Block a user