Applying to -current ld.elf_so and compiling on a 1.4.1-ish mipsel, I had to add a `struct fstat;' to rtld.h to allow the declaration of _rtld_map_object() to compile. Otherwise it seems OK. I dont have the test cases for the depth-first vs. breadth-first search handy, though.