bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/26263] [Regression 2.35] binutils breaks 32-bit mesa


From: hjl.tools at gmail dot com
Subject: [Bug gas/26263] [Regression 2.35] binutils breaks 32-bit mesa
Date: Sun, 19 Jul 2020 13:24:22 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=26263

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.35
             Status|WAITING                     |NEW

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-cfl-2 pr25551]$ cat x.s
        .section .init.text,"ax",@progbits
        .global foo
foo:
        call    printk@PLT
        call    printk
        .text
printk:
        ret
[hjl@gnu-cfl-2 pr25551]$ make
as --32  -o x.o x.s
ld -shared -melf_i386 -o x.so x.o
objdump -dw x.so

x.so:     file format elf32-i386


Disassembly of section .text:

00001000 <printk>:
    1000:       c3                      ret    

Disassembly of section .init.text:

00001001 <foo>:
    1001:       e8 f9 ff ff ff          call   fff <printk-0x1>
    1006:       e8 f5 ff ff ff          call   1000 <printk>
[hjl@gnu-cfl-2 pr25551]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]