Lines Matching full:debug_linker
26 static int debug_linker = 0;
237 if (debug_linker)
571 if (debug_linker>1)
575 if (debug_linker>1)
952 if (debug_linker)
956 if (debug_linker)
967 if (debug_linker)
970 if (debug_linker)
973 case EM_386: if (debug_linker) fprintf(stderr, "x86\n" ); break;
974 case EM_SPARC: if (debug_linker) fprintf(stderr, "sparc\n" ); break;
975 case EM_ARM: if (debug_linker) fprintf(stderr, "arm\n" ); break;
977 case EM_IA_64: if (debug_linker) fprintf(stderr, "ia64\n" ); break;
979 case EM_X86_64: if (debug_linker) fprintf(stderr, "x86_64\n" ); break;
980 case EM_PPC: if (debug_linker) fprintf(stderr, "ppc\n" ); break;
981 default: if (debug_linker) fprintf(stderr, "unknown\n" );
986 if (debug_linker>1) fprintf(stderr,
999 if (debug_linker>1)
1006 if (debug_linker>1) fprintf(stderr, "%2d: ", i );
1007 if (debug_linker>1) fprintf(stderr, "type=%2d ", (int)shdr[i].sh_type );
1008 if (debug_linker>1) fprintf(stderr, "size=%4d ", (int)shdr[i].sh_size );
1009 if (debug_linker>1) fprintf(stderr, "offs=%4d ", (int)shdr[i].sh_offset );
1010 if (debug_linker>1) fprintf(stderr, " (%p .. %p) ",
1015 if (debug_linker>1) fprintf(stderr, "Rel " );
1017 if (debug_linker>1) fprintf(stderr, "RelA " );
1019 if (debug_linker>1) fprintf(stderr," ");
1022 if (debug_linker>1) fprintf(stderr, "sname=%s\n",
1027 if (debug_linker>1) fprintf(stderr, "\nString tables\n" );
1038 if (debug_linker>1)
1050 if (debug_linker>1) fprintf(stderr, "\nSymbol tables\n" );
1053 if (debug_linker>1) fprintf(stderr, "section %d is a symbol table\n", i );
1057 if (debug_linker>1) fprintf(stderr,
1068 if (debug_linker>1) fprintf(stderr, " %2d ", j );
1069 if (debug_linker>1) fprintf(stderr, " sec=%-5d size=%-3d val=%5p ",
1074 if (debug_linker>1) fprintf(stderr, "type=" );
1076 case STT_NOTYPE: if (debug_linker>1) fprintf(stderr, "notype " ); break;
1077 case STT_OBJECT: if (debug_linker>1) fprintf(stderr, "object " ); break;
1078 case STT_FUNC : if (debug_linker>1) fprintf(stderr, "func " ); break;
1079 case STT_SECTION: if (debug_linker>1) fprintf(stderr, "section" ); break;
1080 case STT_FILE: if (debug_linker>1) fprintf(stderr, "file " ); break;
1081 default: if (debug_linker>1) fprintf(stderr, "? " ); break;
1083 if (debug_linker
1085 if (debug_linker>1) fprintf(stderr, "bind=" );
1087 case STB_LOCAL : if (debug_linker>1) fprintf(stderr, "local " ); break;
1088 case STB_GLOBAL: if (debug_linker>1) fprintf(stderr, "global" ); break;
1089 case STB_WEAK : if (debug_linker>1) fprintf(stderr, "weak " ); break;
1090 default: if (debug_linker>1) fprintf(stderr, "? " ); break;
1092 if (debug_linker>1) fprintf(stderr, " " );
1094 if (debug_linker>1) fprintf(stderr, "name=%s\n", strtab + stab[j].st_name );
1268 if (0|| debug_linker)
1289 if (debug_linker>1) fprintf(stderr, "skipping `%s'\n",