gold patch committed: Make relro_test fail if dc is not present

Ian Lance Taylor iant@google.com
Wed Mar 23 00:58:00 GMT 2011
Cary Coutant <ccoutant@google.com> writes:

>> This patch at least makes gold's relro_test fail if dc is not present on
>> the system.  Committed to mainline.
>
> Here's a patch to remove the dependency on dc altogether. According to
>
>   http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html
>
> the Posix shell supports $((...)) expressions and hex constants.

Not OK, I switched final_layout.sh to use dc because somebody had a
shell which didn't support hex constants in $((...)).

Ian



More information about the Binutils mailing list