OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [cris/] [pic-err-1.s] - Blame information for rev 277

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
; Check that invalid PIC reloc and instruction size combinations are
2
; recognized.  Note that sizes of byte operands are not error-checked for
3
; not being in 16-bit range, so no error is recognized for a 16-bit operand.
4
 
5
; { dg-do assemble { target cris-*-* } }
6
; { dg-options "--pic --no-underscore --em=criself" }
7
 
8
 .syntax no_register_prefix
9
 .text
10
start:
11
 move.b extsym:GOTPLT16,r4      ; { dg-error "PIC relocation size does not match" "" { xfail *-*-* } }
12
 move.b extsym12:GOTPLT,r5      ; { dg-error "PIC relocation size does not match" }
13
 move.w extsym2:GOTPLT,r5       ; { dg-error "PIC relocation size does not match" }
14
 move.d extsym3:GOTPLT16,r6     ; { dg-error "PIC relocation size does not match" }
15
 move extsym4:GOTPLT16,srp      ; { dg-error "PIC relocation size does not match" }
16
 move.b extsym5:GOT16,r4        ; { dg-error "PIC relocation size does not match" "" { xfail *-*-* } }
17
 move.b extsym15:GOT,r7         ; { dg-error "PIC relocation size does not match" }
18
 move.w extsym6:GOT,r5          ; { dg-error "PIC relocation size does not match" }
19
 move.d extsym7:GOT16,r6        ; { dg-error "PIC relocation size does not match" }
20
 move extsym8:GOT16,srp         ; { dg-error "PIC relocation size does not match" }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.