mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
Adds an option to remap file prefixes in output object files. This is analogous to the "-fdebug-prefix-map" option in GCC, and allows files to be built in a reproducible manner regardless of the build directory. [ hpa: this still needs to be documented in doc/running.src. ] Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
16 lines
421 B
JSON
16 lines
421 B
JSON
[
|
|
{
|
|
"description": "Test debug-prefix-map on ELF files",
|
|
"id": "elfdebugprefix",
|
|
"format": "elf",
|
|
"source": "elfdebugprefix.asm",
|
|
"option": "-g -O0 --debug-prefix-map ./travis/elfdebugprefix/elf=ELF",
|
|
"target": [
|
|
{
|
|
"output": "elfdebugprefix.o",
|
|
"validate": "(readelf --wide --symbols {output} | grep 'FILE.*ELFdebugprefix.asm') && (strings {output} | grep -v 'elfdebugprefix/elf')"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
|