On 02/04/2011 08:26 AM, Ian Lance Taylor wrote:
keshav yadav<keshav.yadav2005@xxxxxxxxx> writes:
I observe one different behavior when we have page size set to 4KB or
16KB in kernel busybox receive argc[0] argument correct, but
when page size set to 64KB I am getting argv[0] as empty. So what may
be issue. I am using codesourcercy toolchain.
I have no idea what the problem but I know that it is extremely unlikely
to have anything to do with gcc.
I agree.
We routinely run programs compiled with a wide variety of stock GCC
versions, under all three MIPS/Linux ABIs (o32, n32, n64) on kernels
with 4K, 8K, 16K, 32K and 64K page sizes with no problems.
If you suspect a defect in your toolchain, you could try building a
'stock' toolchain with recent Binutils and GCC versions.
David Daney