PATCH: Add gold support for "thin" archives

Cary Coutant ccoutant@google.com
Tue Apr 1 18:25:00 GMT 2008


>       if (!IS_ABSOLUTE_PATH(n.c_str()))
>         {
>           const char *arch_path = this->name().c_str();
>           const char *basename = lbasename(arch_path);
>           if (basename > path)
>             n.replace(0, 0, this->name().substr(0, basename - path));
>         }
>
>  How's that look?

s/ path/ arch_path/

-cary



More information about the Binutils mailing list