Home | History | Annotate | Download | only in unused

Lines Matching full:debug_linker

15 static int debug_linker = 0;
171 if (debug_linker)
475 if (debug_linker>1)
479 if (debug_linker>1)
792 if (debug_linker)
796 if (debug_linker)
807 if (debug_linker)
810 if (debug_linker)
813 case EM_386: if (debug_linker) fprintf(stderr, "x86\n" ); break;
814 case EM_SPARC: if (debug_linker) fprintf(stderr, "sparc\n" ); break;
815 case EM_ARM: if (debug_linker) fprintf(stderr, "arm\n" ); break;
817 case EM_IA_64: if (debug_linker) fprintf(stderr, "ia64\n" ); break;
819 default: if (debug_linker) fprintf(stderr, "unknown\n" );
824 if (debug_linker>1) fprintf(stderr,
836 if (debug_linker>1)
843 if (debug_linker>1) fprintf(stderr, "%2d: ", i );
844 if (debug_linker>1) fprintf(stderr, "type=%2d ", (int)shdr[i].sh_type );
845 if (debug_linker>1) fprintf(stderr, "size=%4d ", (int)shdr[i].sh_size );
846 if (debug_linker>1) fprintf(stderr, "offs=%4d ", (int)shdr[i].sh_offset );
847 if (debug_linker>1) fprintf(stderr, " (%p .. %p) ",
852 if (debug_linker>1) fprintf(stderr, "Rel " );
854 if (debug_linker>1) fprintf(stderr, "RelA " );
856 if (debug_linker>1) fprintf(stderr," ");
859 if (debug_linker>1) fprintf(stderr, "sname=%s\n",
864 if (debug_linker>1) fprintf(stderr, "\nString tables\n" );
875 if (debug_linker>1)
887 if (debug_linker>1) fprintf(stderr, "\nSymbol tables\n" );
890 if (debug_linker>1) fprintf(stderr, "section %d is a symbol table\n", i );
894 if (debug_linker>1) fprintf(stderr,
905 if (debug_linker>1) fprintf(stderr, " %2d ", j );
906 if (debug_linker>1) fprintf(stderr, " sec=%-5d size=%-3d val=%5p ",
911 if (debug_linker>1) fprintf(stderr, "type=" );
913 case STT_NOTYPE: if (debug_linker>1) fprintf(stderr, "notype " ); break;
914 case STT_OBJECT: if (debug_linker>1) fprintf(stderr, "object " ); break;
915 case STT_FUNC : if (debug_linker>1) fprintf(stderr, "func " ); break;
916 case STT_SECTION: if (debug_linker>1) fprintf(stderr, "section" ); break;
917 case STT_FILE: if (debug_linker>1) fprintf(stderr, "file " ); break;
918 default: if (debug_linker>1) fprintf(stderr, "? " ); break;
920 if (debug_linker>1) fprintf(stderr, " " );
922 if (debug_linker>1) fprintf(stderr, "bind=" );
924 case STB_LOCAL : if (debug_linker>1) fprintf(stderr, "local " ); break;
925 case STB_GLOBAL: if (debug_linker>1) fprintf(stderr, "global" ); break;
926 case STB_WEAK : if (debug_linker>1) fprintf(stderr, "weak " ); break;
927 default: if (debug_linker>1) fprintf(stderr, "? " ); break;
929 if (debug_linker>1) fprintf(stderr, " " );
931 if (debug_linker>1) fprintf(stderr, "name=%s\n", strtab + stab[j].st_name );
1101 if (debug_linker)
1122 if (debug_linker>1) fprintf(stderr, "skipping `%s'\n",