This is the mail archive of the email@example.com mailing list for the gas2 project.
|Index Nav:||[Date Index] [Subject Index] [Author Index] [Thread Index]|
|Message Nav:||[Date Prev] [Date Next]||[Thread Prev] [Thread Next]|
configuration m68k-coff Using gdb and breaking at obj-format.c:2645 I can see that the pointer (filename_list_scan->filename) is NULL. Here is a trace. $6 = 0xf85f0 "/net/morgana/usr1/rtems/rtems-3.5.16/c/mvme136/include/asm.h" (gdb) cont Continuing. Breakpoint 1, yank_symbols () at obj-format.c:2645 2645 string_byte_count += strlen (filename_list_scan->filename) + 1; (gdb) print filename_list_scan->filename Cannot access memory at address 0x0. (gdb) bt #0 yank_symbols () at obj-format.c:2645 #1 0x29328 in crawl_symbols (h=0xefffed80, abfd=0xf4240) at obj-format.c:2833 #2 0x29b30 in write_object_file () at obj-format.c:3067 #3 0x311f4 in main (argc=2, argv=0xc85f8) at ../../src/gas/as.c:598 (gdb) cont Continuing. Program received signal SIGSEGV, Segmentation fault. 0x28c7c in yank_symbols () at obj-format.c:2645 obj-format.c:2645: No such file or directory. (gdb) If someone has a patch, I would appreciate it. Otherwise I will spend the time to track it down. Thanks --joel