objformat: Add LINKERVER environment variable recognition
authorJohn Marino <draco@marino.st>
Sun, 12 Feb 2012 09:48:33 +0000 (10:48 +0100)
committerJohn Marino <draco@marino.st>
Sun, 12 Feb 2012 11:48:25 +0000 (12:48 +0100)
commit0784934ab2d8a3bba5ad1f59713db3cea8005865
treee4b6419dc221d675b983d8077e5f9cc0ff3e0a71
parentde4f87fee1f353ecdb5f58103272b41fe40963b7
objformat: Add LINKERVER environment variable recognition

objformat will now scan for the LINKERVER environment variable.  If this
variable exists *AND* it has the value of "ld.gold", the command "ld"
will point at the gold linker.  In every other case, it will point at
the classic "gnu ld" linker.

The relative command position of "ld" was moved to after the compiler
group because it's a popular command and having it towards the front
means less time in the search loop.
usr.bin/objformat/objformat.1
usr.bin/objformat/objformat.c