[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/3456] namesz field improperly rounded in elf version notes
From: |
djg at cray dot com |
Subject: |
[Bug gas/3456] namesz field improperly rounded in elf version notes |
Date: |
3 Nov 2006 20:17:54 -0000 |
------- Additional Comments From djg at cray dot com 2006-11-03 20:17 -------
This affects the .version directive on ELF targets. Below is a test case; the
objdump output shows the namesz field (at the beginning) with the value 8;
it should be 6.
$ cat test.s
.version "stuff"
$ as test.s -o test.o
$ objdump -D test.o
test.o: file format elf32-i386
Disassembly of section .note:
00000000 <.note>:
0: 08 00 or %al,(%eax)
2: 00 00 add %al,(%eax)
4: 00 00 add %al,(%eax)
6: 00 00 add %al,(%eax)
8: 01 00 add %eax,(%eax)
a: 00 00 add %al,(%eax)
c: 73 74 jae 0x82
e: 75 66 jne 0x76
10: 66 data16
11: 00 00 add %al,(%eax)
...
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3456
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.