~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/gold/testsuite/arm_exidx_test.s

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
        .syntax unified 
 
2
        .arch   armv5te
 
3
        .section        .text.answer,"ax",%progbits
 
4
        .align  2
 
5
        .global answer
 
6
        .type   answer, %function
 
7
answer:
 
8
        .fnstart
 
9
        .cantunwind
 
10
        mov     r0, #42
 
11
        bx      lr
 
12
        .fnend
 
13
        .size   answer, .-answer
 
14
 
 
15
# Check that we can handle an empty .text section
 
16
        .section        .text.empty,"ax",%progbits
 
17
        .align  2
 
18
        .global empty
 
19
        .type   empty, %function
 
20
empty:
 
21
        .fnstart
 
22
        .cantunwind
 
23
        .fnend
 
24
        .size   empty, .-empty
 
25
 
 
26
# Check that no dynamic relocations for __exidx_start and __exidx_stop
 
27
# generated.
 
28
        .data
 
29
        .align  12
 
30
        .word   __exidx_start(got)
 
31
        .word   __exidx_end(got)