Lines Matching defs:plt
629 #define DT_PLTRELSZ 2 /* Size in bytes of PLT relocs */
647 #define DT_PLTREL 20 /* Type of reloc in PLT */
650 #define DT_JMPREL 23 /* Address of PLT relocs */
949 #define R_68K_PLT32 13 /* 32 bit PC relative PLT address */
950 #define R_68K_PLT16 14 /* 16 bit PC relative PLT address */
951 #define R_68K_PLT8 15 /* 8 bit PC relative PLT address */
952 #define R_68K_PLT32O 16 /* 32 bit PLT offset */
953 #define R_68K_PLT16O 17 /* 16 bit PLT offset */
954 #define R_68K_PLT8O 18 /* 8 bit PLT offset */
957 #define R_68K_JMP_SLOT 21 /* Create PLT entry */
970 #define R_386_PLT32 4 /* 32 bit PLT address */
973 #define R_386_JMP_SLOT 7 /* Create PLT entry */
1012 #define R_SPARC_WPLT30 18 /* 30 bit PC relative PLT address */
1015 #define R_SPARC_JMP_SLOT 21 /* Create PLT entry */
1021 #define R_SPARC_PLT32 24 /* Direct 32 bit ref to PLT entry */
1022 #define R_SPARC_HIPLT22 25 /* High 22 bit PLT entry */
1023 #define R_SPARC_LOPLT10 26 /* Truncated 10 bit PLT entry */
1024 #define R_SPARC_PCPLT32 27 /* PC rel 32 bit ref to PLT entry */
1025 #define R_SPARC_PCPLT22 28 /* PC rel high 22 bit PLT entry */
1026 #define R_SPARC_PCPLT10 29 /* PC rel trunc 10 bit PLT entry */
1043 #define R_SPARC_PLT64 47 /* Direct 64 bit ref to PLT entry */
1534 #define R_ALPHA_JMP_SLOT 26 /* Create PLT entry */
1660 #define R_ARM_JUMP_SLOT 22 /* Create PLT entry */
1665 #define R_ARM_PLT32 27 /* 32 bit PLT address */
1686 #define R_C60_PLT32 4 /* 32 bit PLT address */
1689 #define R_C60_JMP_SLOT 7 /* Create PLT entry */
2437 Section *plt;
18835 Section *plt;
18845 /* add a PLT entry */
18846 plt = s1->plt;
18847 if (plt->data_offset == 0) {
18848 /* first plt entry */
18849 p = section_ptr_add(plt, 16);
18858 p = section_ptr_add(plt, 16);
18863 put32(p + 7, (plt->data_offset - 32) >> 1);
18865 put32(p + 12, -(plt->data_offset));
18868 the PLT */
18870 offset = plt->data_offset - 16;
18874 Section *plt;
18881 /* add a PLT entry */
18882 plt = s1->plt;
18883 if (plt->data_offset == 0) {
18884 /* first plt entry */
18885 p = section_ptr_add(plt, 16);
18892 p = section_ptr_add(plt, 16);
18899 the PLT */
18901 offset = plt->data_offset - 16;
18919 /* build GOT and PLT entries */
19275 /* add PLT */
19276 s1->plt = new_section(s1, ".plt", SHT_PROGBITS,
19278 s1->plt->sh_entsize = 4;
19284 add it in the PLT. If a symbol STT_OBJECT is found, we
19616 /* relocate the PLT */
19620 p = s1->plt->data;
19621 p_end = p + s1->plt->data_offset;
19633 x=s1->got->sh_addr - s1->plt->sh_addr - 12;
19636 put32(p + 12, x + get32(p + 12) + s1->plt->data - p);
19653 /* relocate to the PLT if the symbol corresponds
19654 to a PLT entry */
19656 sym->st_value += s1->plt->sh_addr;