mirror of
https://github.com/rui314/mold.git
synced 2024-12-26 01:44:29 +03:00
6 lines
227 B
Plaintext
6 lines
227 B
Plaintext
RUN: echo '.globl _start; _start: jmp loop' | cc -o %t1.o -c -x assembler -
|
|
RUN: echo '.globl loop; loop: jmp loop' | cc -o %t2.o -c -x assembler -
|
|
RUN: mold -static -o %t %t2.o %t1.o
|
|
RUN: objdump -d %t
|
|
RUN: file %t | grep ELF
|