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

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/ld/testsuite/ld-i386/combreloc.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
        .text
 
2
        .globl  _start, foo
 
3
        .type   _start,@function
 
4
_start:
 
5
        pushl   %ebp
 
6
        movl    %esp, %ebp
 
7
        pushl   %ebx
 
8
        call    1f
 
9
1:      popl    %ebx
 
10
        addl    $_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx
 
11
        movl    _start@GOT(%ebx), %eax
 
12
        movl    (%eax), %eax
 
13
        call    foo@PLT
 
14
        movl    (%esp), %ebx
 
15
        leave
 
16
foo:    ret
 
17
        .data
 
18
        .long   _start
 
19
        .section "__libc_subfreeres", "aw", @progbits
 
20
        .long   _start
 
21
        .section "__libc_atexit", "aw", @progbits
 
22
        .long   _start