This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: gold patch committed: Make relro_test fail if dc is not present
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