bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/27047] bss section not supported for target z80-unknown-elf


From: sergey.belyashov at gmail dot com
Subject: [Bug gas/27047] bss section not supported for target z80-unknown-elf
Date: Fri, 11 Dec 2020 12:23:13 +0000

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

--- Comment #1 from Sergey Belyashov <sergey.belyashov at gmail dot com> ---
.bss section is supported. But .bss pseudo operation is not supported. You can
create .bss section using .section pseudo operation.

Just try:
$ cat a.s
   .section .bss
myvar: .ds 2
$ z80-unknown-elf-as a.s
$ z80-unknown-elf-readelf -t a.out
...
  [ 3] .bss
       NOBITS          00000000 000034 000002 00   0   0  1
       [00000003]: WRITE, ALLOC
...

-- 
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]