Sword
__ElfType(Sword);
Sword gindex;
gindex = (Sword)(gaddr - gotsymaddr) / (Sword)gentsize;
Sword
return ((Sword)v.sld_i8);
return ((Sword)v.sld_i16);
return ((Sword)v.sld_i32);
return ((Sword)v.sld_i64);
return ((Sword)v.sld_ui8);
return ((Sword)v.sld_ui16);
return ((Sword)v.sld_ui32);
return ((Sword)v.sld_ui64);
extern Sword sl_extract_as_sword(const char *data, int do_swap,
extern void Elf_got_entry(Lm_list *, Sword, Addr, Xword, Half,
Sword gn_gotndx; /* GOT table index */
#define M_GOT_LARGE (Sword)(-M_GOT_MAXSMALL - 1)
#define M_GOT_SMALL (Sword)(-M_GOT_MAXSMALL - 2)
#define M_GOT_MIXED (Sword)(-M_GOT_MAXSMALL - 3)
Sword plt_off;
Sword plt_off;
Sword gotndx;
static Sword small_index; /* starting index for small GOT entries */
static Sword mixed_index; /* starting index for mixed GOT entries */
static Sword large_index; /* starting index for large GOT entries */
const Sword first_large_ndx = M_GOT_MAXSMALL / 2;
static Sword neggotoffset = 0; /* off. of GOT table from GOT symbol */
static Sword smlgotcnt = M_GOT_XNumber; /* no. of small GOT symbols */
static Sword mixgotcnt = 0; /* # syms with both large/small GOT */
Elf_got_entry(Lm_list *lml, Sword ndx, Addr addr, Xword value, Half mach,