https://sourceware.org/bugzilla/show_bug.cgi?id=31400
Zheng Bao <fishbaoz at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fishbaoz at hotmail dot com
--- Comment #1 from Zheng Bao <fishbaoz at hotmail dot com> ---
retested with latest branch master.
$ cat align.s
ret
.align 16, , 1
ret
.align 16, , -1
ret
.align 16, , -4294967295
ret
$ as-new --version
GNU assembler (GNU Binutils) 2.45.50.20260109
Copyright (C) 2026 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 later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-pc-linux-gnu'.
$ as-new align.s
align.s: Assembler messages:
align.s:4: Warning: ignoring out of range alignment maximum
align.s:6: Warning: ignoring out of range alignment maximum
$ objdump -d a.out
a.out: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <.text>:
0: c3 ret
1: c3 ret
2: 0f 1f 00 nopl (%rax)
5: 66 66 2e 0f 1f 84 00 data16 cs nopw 0x0(%rax,%rax,1)
c: 00 00 00 00
10: c3 ret
11: 0f 1f 40 00 nopl 0x0(%rax)
15: 66 66 2e 0f 1f 84 00 data16 cs nopw 0x0(%rax,%rax,1)
1c: 00 00 00 00
20: c3 ret
--
You are receiving this mail because:
You are on the CC list for the bug.