[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag
From: |
danmcd at mnx dot io |
Subject: |
[Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag |
Date: |
Thu, 26 Sep 2024 12:52:38 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32211
--- Comment #6 from Dan McDonald <danmcd at mnx dot io> ---
root@ubuntu-22:~# cat x.s
.text
foo:
.zero 10
mov %eax, %ebx
root@ubuntu-22:~# gcc -c x.s
root@ubuntu-22:~# file x.o
x.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
root@ubuntu-22:~# objdump --version
GNU objdump (GNU Binutils for Ubuntu) 2.38
Copyright (C) 2022 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
root@ubuntu-22:~# objdump -z -D x.o
x.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <foo>:
0: 00 00 add %al,(%rax)
2: 00 00 add %al,(%rax)
4: 00 00 add %al,(%rax)
6: 00 00 add %al,(%rax)
8: 00 00 add %al,(%rax)
a: 89 c3 mov %eax,%ebx
root@ubuntu-22:~# as -mx86-used-note=no -o x2.o x.s
root@ubuntu-22:~# objdump -z -D x2.o
x2.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <foo>:
0: 00 00 add %al,(%rax)
2: 00 00 add %al,(%rax)
4: 00 00 add %al,(%rax)
6: 00 00 add %al,(%rax)
8: 00 00 add %al,(%rax)
a: 89 c3 mov %eax,%ebx
root@ubuntu-22:~#
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/32211] New: 2.41 and later doesn't seem to honor the `-z` flag, danmcd at mnx dot io, 2024/09/25
- [Bug binutils/32211] 2.41 and later doesn't seem to honor the `-z` flag, danmcd at mnx dot io, 2024/09/25
- [Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag, danmcd at mnx dot io, 2024/09/25
- [Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag, danmcd at mnx dot io, 2024/09/25
- [Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag, hjl.tools at gmail dot com, 2024/09/25
- [Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag, danmcd at mnx dot io, 2024/09/25
- [Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag, hjl.tools at gmail dot com, 2024/09/26
- [Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag, hjl.tools at gmail dot com, 2024/09/26
- [Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag,
danmcd at mnx dot io <=
- [Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag, nickc at redhat dot com, 2024/09/26
- [Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag, danmcd at mnx dot io, 2024/09/26
- [Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag, danmcd at mnx dot io, 2024/09/26
- [Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag, danmcd at mnx dot io, 2024/09/26
- [Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag, danmcd at mnx dot io, 2024/09/26
- [Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag, nickc at redhat dot com, 2024/09/26
- [Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag, danmcd at mnx dot io, 2024/09/26
- [Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag, nickc at redhat dot com, 2024/09/26
- [Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag, danmcd at mnx dot io, 2024/09/26
- [Bug binutils/32211] 2.41 and later don't seem to honor the `-z` flag, nickc at redhat dot com, 2024/09/27