non-scalar DL_LOADADDR_TYPE

Henderson, Stuart Stuart.Henderson at analog.com
Thu Mar 1 18:17:52 UTC 2012


Hi,
There appears to have been various changes made since 0.9.32 that assume DL_LOADADDR_TYPE is always a scalar, which isn't the case for fdpic.

For instance:
dl-startup.c(DL_START) at line 281 checks:
if(load_addr)

Further on at line 350, it casts a scalar to DL_LOADADDR_TYPE:
_dl_get_ready_to_run(tpnt, (DL_LOADADDR_TYPE) header, auxvt, envp, argv DL_GET_READY_TO_RUN_EXTRA_ARGS);

There's other similar changes in other files, these are just two examples.  Am I missing something obvious here or do these changes not make sense for fdpic?

Thanks,
Stu



More information about the uClibc mailing list