add(binutils,gold)

This commit is contained in:
Jacob Heider 2023-11-22 22:01:29 -05:00 committed by Jacob Heider
parent ff760941f6
commit d4f1450a0a

View file

@ -16,9 +16,15 @@ build:
linux: linux:
gnu.org/gcc: '*' gnu.org/gcc: '*'
script: | script: |
./configure --prefix={{ prefix }} ./configure $ARGS
make --jobs {{ hw.concurrency }} make --jobs {{ hw.concurrency }}
make install make install
env:
ARGS:
- --prefix={{ prefix }}
linux:
ARGS:
- --enable-gold=yes
test: test:
script: objdump -x $(which objdump) | grep -s $TEST_STRING script: objdump -x $(which objdump) | grep -s $TEST_STRING
@ -30,15 +36,40 @@ test:
TEST_STRING: GNU_HASH TEST_STRING: GNU_HASH
provides: provides:
- bin/addr2line darwin:
- bin/ar - bin/addr2line
- bin/c++filt - bin/ar
- bin/elfedit - bin/c++filt
- bin/nm - bin/elfedit
- bin/objcopy - bin/nm
- bin/objdump - bin/objcopy
- bin/ranlib - bin/objdump
- bin/readelf - bin/ranlib
- bin/size - bin/readelf
- bin/strings - bin/size
- bin/strip - bin/strings
- bin/strip
linux:
- bin/addr2line
- bin/ar
- bin/as
- bin/c++filt
- bin/elfedit
- bin/gp-archive
- bin/gp-collect-app
- bin/gp-display-html
- bin/gp-display-src
- bin/gp-display-text
- bin/gprof
- bin/gprofng
- bin/ld
- bin/ld.bfd
- bin/ld.gold
- bin/nm
- bin/objcopy
- bin/objdump
- bin/ranlib
- bin/readelf
- bin/size
- bin/strings
- bin/strip