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:
>> Not OK, I switched final_layout.sh to use dc because somebody had a
>> shell which didn't support hex constants in $((...)).
>
> Ugh. How about this? Is strtonum() supported in all versions of awk
> that we care about?
Good idea, but I don't think so. strtonum is only in GNU awk, and is
probably not in, e.g., Solaris awk.
I wonder how portable printf is?
Ian