[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/19576] bogus code generation with on SunOS with 2.26
From: |
richard at netbsd dot org |
Subject: |
[Bug gas/19576] bogus code generation with on SunOS with 2.26 |
Date: |
Mon, 08 Feb 2016 15:09:24 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19576
--- Comment #5 from Richard PALO <richard at netbsd dot org> ---
(In reply to H.J. Lu from comment #4)
> The difference is
> - 64: 00000000 0 NOTYPE GLOBAL DEFAULT OS [0xff3f]
> __dtrace_Xserver___resour
> + 64: 00000000 0 NOTYPE GLOBAL DEFAULT UND __dtrace_Xserver___resour
>...
> - 67: 00000000 0 NOTYPE GLOBAL DEFAULT OS [0xff3f]
> __dtrace_Xserver___resour
> ^^^^^^^^^^^^^ 2.26 Where does
> this special section index come from? My cross assembler doesn't have it.
> Please find out why it happens on Solaris.
>
> + 67: 00000000 0 NOTYPE GLOBAL DEFAULT UND __dtrace_Xserver___resour
I'm not sure, perhaps something in the cross assembly toolchain is buggy?
In any event, comparing elfdumps from both files shows these dtrace symbols to
be the same:
$ elfdump -s resource.o.gas.2.25.1 |grep dtrace
[64] 0x00000000 0x00000000 NOTY GLOB D 0 IGNORE
__dtrace_Xserver___resource-alloc
[67] 0x00000000 0x00000000 NOTY GLOB D 0 IGNORE
__dtrace_Xserver___resource-free
$ elfdump -s resource.o.gas.2.26 |grep dtrace
[64] 0x00000000 0x00000000 NOTY GLOB D 0 IGNORE
__dtrace_Xserver___resource-alloc
[67] 0x00000000 0x00000000 NOTY GLOB D 0 IGNORE
__dtrace_Xserver___resource-free
I'm running a recent OmniOS 'bloody' 151017 (SunOS 5.11) from
http://omnios.omniti.com/wiki.php/Installation
If this were a more apparent link time issue I'd suspect compatibility
issues with recent binutils, as has already been discovered with 2.26,
but this is still at compile/assembly time.
Is there some extra verbosity I can turn on in the assembler?
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/19576] New: bogus code generation with on SunOS with 2.26, richard at netbsd dot org, 2016/02/06
- [Bug gas/19576] bogus code generation with on SunOS with 2.26, richard at netbsd dot org, 2016/02/06
- [Bug gas/19576] bogus code generation with on SunOS with 2.26, hjl.tools at gmail dot com, 2016/02/06
- [Bug gas/19576] bogus code generation with on SunOS with 2.26, richard at netbsd dot org, 2016/02/06
- [Bug gas/19576] bogus code generation with on SunOS with 2.26, hjl.tools at gmail dot com, 2016/02/06
- [Bug gas/19576] bogus code generation with on SunOS with 2.26,
richard at netbsd dot org <=
- [Bug gas/19576] bogus code generation with on SunOS with 2.26, hjl.tools at gmail dot com, 2016/02/08
- [Bug gas/19576] bogus code generation with on SunOS with 2.26, richard at netbsd dot org, 2016/02/08
- [Bug gas/19576] bogus code generation with on SunOS with 2.26, richard at netbsd dot org, 2016/02/14