]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/testsuite/ld-scripts/phdrs.exp
* readelf.c (get_machine_dlags): Add support for RX's PID mode.
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-scripts / phdrs.exp
index c4e56995d79808be366ab80bf034a34535f91e76..b7f3682afd50fb1858b7334fc8023edfe74a555c 100644 (file)
@@ -60,6 +60,14 @@ if ![ld_simple_link $ld tmpdir/phdrs $ldopt] {
     set exec_output [prune_warnings $exec_output]
     verbose -log $exec_output
 
+    # The RX port sets the p_paddr of loadable segments to 0 in order
+    # to be compatible with Renesas tools.  When an RX executable is
+    # loaded into a BFD based tool the code tries to reconstruct the
+    # correct vaddr and paddr values.  This is not always possible
+    # however and this test is one example of where the reconstruction
+    # fails.
+    setup_xfail rx-*-*
+    
     if [regexp $phdrs_regexp $exec_output] {
        pass $testname
     } else {