git: gold: Local modification to add --relocatable synonym

John Marino marino at
Tue May 17 23:01:33 PDT 2011

commit 2ff7ea11649f7d3187312953f1e99d7f3ac43130
Author: John Marino <draco at>
Date:   Wed May 18 07:23:38 2011 +0200

    gold: Local modification to add --relocatable synonym
    Until a change to the binutils master branch two days ago, the gold linker
    simply ignored the -i switch, which is considered to be a synonym of
    the --relocatable (-r) switch by the ld linker.
    This mainly affects makefiles that use gold directly rather than having it
    invoked by gcc, and there was a case like this in the DragonFly base.
    While the base was easily modified to use the -r switch, it was deemed a
    good idea to apply this modification to the gold of binutils 2.21 in case
    any pkgsrc software try to use the linker directly.

Summary of changes:
 contrib/binutils-2.21/gold/options.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list