-
Mass should have a standard module that allows to write (and read?) ELF executables. This should not be part of the compiler but rather written in the language itself.
-
Implement exporting an assembled eBPF bytecode program to an ELF object, similar to e.g. `clang -target bpf someProgram -o someProgram.o`.
This would allow us to use tools like `bpftool` to load pr…
-
When cross-compiling an application that uses libbpf-sys in build.rs(Usually via libbpf-cargo).
If `LIBBPF_SYS_LIBRARY_PATH` is set to a path that contains the libelf for the target architecture(le…
-
```
❯ cat test.s
.global __start
__start:
j $ra
❯ clang -target mipsisa64r6-linux-gnu -nostdlib test.s
❯ objdump --disassemble=__start a.out
a.out: file format elf64-tradbigmips
…
-
Hi,
I'm writing a library around the `dl_iterate_phdr` API, and want it to be portable.
I've noticed that `dl_iterate_phdr`, its types, and constants, are defined only on Linux and Fuchsia for n…
-
Reproduction: On an aarch64-linux-gnu machine, clone zig-gamedev and run `zig build gui_test_wgpu`, or on another machine run `zig build gui_test_wgpu -Dtarget=aarch64-linux-gnu`
Some of the errors…
-
```
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./../include -DHAVE_x86_64_elf64_vec -DHAVE_i386_elf32_vec -DHAVE_iamcu_elf32_vec -DHAVE_x86_64_elf32_vec -DHAVE_i…
-
I am optimizing a ELF64/AArch64 binary compiled with -gdwarf4 and get this assert failure while updating the debug sections:
![image](https://github.com/llvm/llvm-project/assets/158327801/1468d22…
-
# Brief
When cross compiling, ld.lld `-m` option overwritten by host machine linker script, binutils ld handle this situation correctly.
# Detailed problem explanation
In a Linux system using glibc…
-
@sha0coder and I have weird, silly, sick, twisted idea from aarch64 Apple M1/M2 Mac to be able to "cross compile" to `x86_64-apple-darwin` Rust triple and then see how far we can get running Linux Use…