Back to index

glibc  2.9
dl-machine.c File Reference
#include <string.h>
#include <unistd.h>
#include <ldsodefs.h>
#include <stdio-common/_itoa.h>
#include <dl-machine.h>

Go to the source code of this file.


void _dl_reloc_overflow (struct link_map *map, const char *name, Elf64_Addr *const reloc_addr, const Elf64_Sym *refsym)

Function Documentation

void _dl_reloc_overflow ( struct link_map map,
const char *  name,
Elf64_Addr *const  reloc_addr,
const Elf64_Sym refsym 

Definition at line 27 of file dl-machine.c.

  char buffer[128];
  char *t;
  t = stpcpy (buffer, name);
  t = stpcpy (t, " reloc at 0x");
  _itoa_word ((unsigned long) reloc_addr, t, 16, 0);
  if (refsym)
      const char *strtab;

      strtab = (const void *) D_PTR (map, l_info[DT_STRTAB]);
      t = stpcpy (t, " for symbol `");
      t = stpcpy (t, strtab + refsym->st_name);
      t = stpcpy (t, "'");
  t = stpcpy (t, " out of range");
  _dl_signal_error (0, map->l_name, NULL, buffer);

Here is the call graph for this function: