xfail locview tests on mep that use complex relocs for view numbers
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 7 May 2019 19:34:19 +0000 (16:34 -0300)
committerAlexandre Oliva <aoliva@redhat.com>
Tue, 7 May 2019 19:34:19 +0000 (16:34 -0300)
Expressions that compute view numbers that aren't simplified early
enough to a constant end up being selected for representation as
complex relocations, enabled on mep-* targets.

It would be possible to recognize such expressions, that can resolve
to constants, but this problem was hit before, in preexisting tests,
so xfail the new hits similarly.

The new hits were caused by yesterday's patch to dwarf2dbg.c: views in
the beginning of subsections are now computed later, based on the
final views or previous subsections in the same section.

for  gas/ChangeLog

* testsuite/gas/elf/dwarf2-18.d: Xfail mep-*.
* testsuite/gas/elf/dwarf2-19.d: Likewise.

gas/ChangeLog
gas/testsuite/gas/elf/dwarf2-18.d
gas/testsuite/gas/elf/dwarf2-19.d

index fc8ea0b75f5f4f7b062fcd5f0b26597e5aebaa4e..9ba89180744c086c93800bdde49b38bf48621325 100644 (file)
@@ -1,3 +1,8 @@
+2019-05-07  Alexandre Oliva <aoliva@redhat.com>
+
+       * testsuite/gas/elf/dwarf2-18.d: Xfail mep-*.
+       * testsuite/gas/elf/dwarf2-19.d: Likewise.
+
 2019-05-07  Alan Modra  <amodra@gmail.com>
 
        * symbols.c (use_complex_relocs_for): Formatting.  Factor out
index a93a9f98deac9a48abc87b7e03f8fc2949c3cbc8..8d47aaee501f74316daa32342d818792e489cab3 100644 (file)
@@ -2,9 +2,10 @@
 #readelf: -x.rodata -wL
 #name: DWARF2 18
 # The am33 avr cr16 crx ft32 mn10 msp430 nds32 pru rl78 and xtensa targets do not evaluate the subtraction of symbols at assembly time.
+# The mep targets turns some view computations into complex relocations.
 # The riscv targets do not support the subtraction of symbols.
 # The tile targets require 8-byte instructions, but the test only simulates 4-byte instructions.
-#notarget: am3*-* avr-* cr16-* crx-* ft32*-* mn10*-* msp430-* nds32*-* pru-* riscv*-* rl78-* tile*-* xtensa-*
+#notarget: am3*-* avr-* cr16-* crx-* ft32*-* mep-* mn10*-* msp430-* nds32*-* pru-* riscv*-* rl78-* tile*-* xtensa-*
 
 Hex dump of section '\.rodata':
   0x00000000 0100 *.*
index ebb3bf984b1cd91bbb737d6bdf7ddc5e86d6c3a3..2c38e4e07aef47065747b9fe96b51ec4d8bc7ce6 100644 (file)
@@ -2,9 +2,10 @@
 #readelf: -x.rodata -wL
 #name: DWARF2 19
 # The am33 avr cr16 crx ft32 mn10 msp430 nds32 pru rl78 and xtensa targets do not evaluate the subtraction of symbols at assembly time.
+# The mep targets turns some view computations into complex relocations.
 # The riscv targets do not support the subtraction of symbols.
 # The tile targets require 8-byte instructions, but the test only simulates 4-byte instructions.
-#notarget: am3*-* avr-* cr16-* crx-* ft32*-* mn10*-* msp430-* nds32*-* pru-* riscv*-* rl78-* tile*-* xtensa-*
+#notarget: am3*-* avr-* cr16-* crx-* ft32*-* mep-* mn10*-* msp430-* nds32*-* pru-* riscv*-* rl78-* tile*-* xtensa-*
 
 Hex dump of section '\.rodata':
   0x00000000 01000102 *.*
This page took 0.029642 seconds and 4 git commands to generate.