URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
Subversion Repositories open8_urisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/open8_urisc/trunk/gnu/binutils/ld/testsuite/ld-gc
- from Rev 64 to Rev 163
- ↔ Reverse comparison
Rev 64 → Rev 163
/libpersonality.s
0,0 → 1,11
.weak __gxx_personality_v0 |
.type __gxx_personality_v0,%function |
__gxx_personality_v0: |
.long 0 |
.size __gxx_personality_v0, . - __gxx_personality_v0 |
|
.globl __gxx_personality_v1 |
.type __gxx_personality_v1,%function |
__gxx_personality_v1: |
.long 0 |
.size __gxx_personality_v1, . - __gxx_personality_v1 |
/gc.exp
97,6 → 97,20
run_dump_test "noent" |
run_dump_test "abi-note" |
run_dump_test "start" |
|
if { [is_elf_format] && [check_shared_lib_support] } then { |
set gasopt "" |
if { [istarget tic6x-*] } then { |
set gasopt "-mpic -mpid=near" |
} |
if {![ld_assemble_flags $as $gasopt $srcdir/$subdir/libpersonality.s tmpdir/libpersonality.o] |
|| ![ld_simple_link $ld tmpdir/libpersonality.so "-shared tmpdir/libpersonality.o"] } then { |
fail libpersonality |
} else { |
run_dump_test "personality" |
} |
} |
|
if { [is_remote host] || [which $CC] != 0 } { |
if { [istarget "*-*-linux*"] |
|| [istarget "*-*-gnu*"] } { |
/personality.s
0,0 → 1,28
.section .text.loseme,"ax",%progbits |
.globl loseme |
.type loseme,%function |
loseme: |
.cfi_startproc |
.cfi_personality 0,__gxx_personality_v0 |
.long 0 |
.cfi_endproc |
.size loseme, . - loseme |
|
.section .text.loseme2,"ax",%progbits |
.globl loseme2 |
.type loseme2,%function |
loseme2: |
.cfi_startproc |
.cfi_personality 0,__gxx_personality_v1 |
.long 0 |
.cfi_endproc |
.size loseme2, . - loseme2 |
|
.section .text.main,"ax",%progbits |
.globl main |
.type main, %function |
main: |
.cfi_startproc |
.long 0 |
.cfi_endproc |
.size main, . - main |
/personality.d
0,0 → 1,10
#name: --gc-sections with __gxx_personality |
#ld: --gc-sections -e main -L tmpdir -lpersonality |
#nm: -n |
#xfail: bfin-*-* cris*-*-* frv-*-* mn10300-*-* vax-*-* xtensa-*-* |
# above targets don't support cfi |
|
#failif |
#... |
.*gxx_personality.* |
#... |