handling DWARF sections solves the problem.
This seems to be a long outstanding bug:
http://permalink.gmane.org/gmane.linux.busybox/4533
http://www.linux-mips.org/archives/linux-mips/2004-08/msg00072.html
Signed-off-by: Ralf Rösch <[email protected]>
---
modutils/modutils-24.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modutils/modutils-24.c b/modutils/modutils-24.c
index a878e74..d1cecfc 100644
--- a/modutils/modutils-24.c
+++ b/modutils/modutils-24.c
@@ -3280,6 +3280,9 @@ static struct obj_file *obj_load(char *image,
size_t image_size, int loadprogbit
case SHT_SYMTAB:
case SHT_STRTAB:
case SHT_RELM:
+#if defined(__mips__)
+ case SHT_MIPS_DWARF:
+#endif
sec->contents = NULL;
if (sec->header.sh_size > 0) {
sec->contents =
xmalloc(sec->header.sh_size);
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox