This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

more on bfd assertion failures.



The failure occurs in bfs/sunos.c:sunos_scan_ext_relocs() in the
following assertions:

      BFD_ASSERT (r_type == RELOC_JMP_TBL
		  || (h->flags & SUNOS_REF_REGULAR) != 0);

The sunos_link_hash_entry looks like

(gdb) p *h
$3 = {root = {root = {root = {next = 0x0, string = 0x6e290 "_pte_exprotect", 
        hash = 299445140}, type = bfd_link_hash_defined, next = 0x67aa8, u = {undef = {
          abfd = 0x1cc}, def = {value = 460, section = 0x69c70}, i = {link = 0x1cc, 
          warning = 0x69c70 ""}, c = {size = 460, p = 0x69c70}}}, written = false, 
    indx = -1}, dynindx = -2, dynstr_index = -1, got_offset = 0, plt_offset = 0, 
  flags = 2 '\002'}

and r_type has the value '8'

I'll keep searching.

Later,
David S. Miller
davem@caip.rutgers.edu