• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/cxxfilt-11/cxxfilt/bfd/

Lines Matching +defs:file +defs:name +defs:magic

4    FIXME: Can someone provide a transliteration of this name into ASCII?
13 This file is part of BFD, the Binary File Descriptor library.
320 name. This will mean that ld -X doesn't actually strip anything.
325 _bfd_xcoff_is_local_label_name (abfd, name)
327 const char *name ATTRIBUTE_UNUSED;
621 "R_POS", /* name */
636 "R_NEG", /* name */
651 "R_REL", /* name */
666 "R_TOC", /* name */
681 "R_RTB", /* name */
696 "R_GL", /* name */
711 "R_TCL", /* name */
728 "R_BA_26", /* name */
745 "R_BR", /* name */
762 "R_RL", /* name */
777 "R_RLA", /* name */
794 "R_REF", /* name */
812 "R_TRL", /* name */
827 "R_TRLA", /* name */
842 "R_RRTBI", /* name */
857 "R_RRTBA", /* name */
872 "R_CAI", /* name */
887 "R_CREL", /* name */
902 "R_RBA", /* name */
917 "R_RBAC", /* name */
932 "R_RBR_26", /* name */
947 "R_RBRC", /* name */
962 "R_BA_16", /* name */
977 "R_RBR_16", /* name */
992 "R_RBA_16", /* name */
1063 with file offset links, so it is possible to rapidly update an
1065 has a real file header, not just an ARMAG string. The structure of
1066 the file header and of each archive header appear below.
1070 linked list, but you have to read a lot more of the file). The
1071 member table has a normal archive header with an empty name. It is
1082 header with an empty name. It is normally (and perhaps must be)
1085 a that many four byte binary numbers; each is the file offset of an
1100 /* XCOFF archives use this as a magic string. Note that both strings
1103 /* Set the magic for archive. */
1106 bfd_xcoff_ar_archive_set_magic (abfd, magic)
1108 char *magic ATTRIBUTE_UNUSED;
1112 /* bfd_xcoff_archive_set_magic (abfd, magic); */
1155 /* Skip the name (normally empty). */
1184 /* After the count comes a list of four byte file offsets. */
1210 /* Skip the name (normally empty). */
1242 /* After the count comes a list of eight byte file offsets. */
1249 /* After the file offsets come null terminated symbol names. */
1260 arsym->name = (char *) p;
1276 char magic[SXCOFFARMAG];
1279 if (bfd_bread ((PTR) magic, amt, abfd) != amt)
1286 if (strncmp (magic, XCOFFARMAG, SXCOFFARMAG) != 0
1287 && strncmp (magic, XCOFFARMAGBIG, SXCOFFARMAG) != 0)
1308 if (magic[1] != 'b')
1313 /* Copy over the magic string. */
1314 memcpy (hdr.magic, magic, SXCOFFARMAG);
1316 /* Now read the rest of the file header. */
1340 /* Copy over the magic string. */
1341 memcpy (hdr.magic, magic, SXCOFFARMAG);
1343 /* Now read the rest of the file header. */
1458 /* Skip over the XCOFFARFMAG at the end of the file name. */
1563 /* Normalize a file name for inclusion in an archive. */
1569 const char *file;
1572 file = bfd_get_filename (abfd);
1573 filename = strrchr (file, '/');
1577 filename = file;
1649 const char *name;
1652 name = *map[i].name;
1653 namlen = strlen (name);
1654 if (bfd_bwrite (name, (bfd_size_type) (namlen + 1), abfd) != namlen + 1)
1801 string_length = strlen (*map[i].name) + 1;
1935 string_length = sprintf (st, "%s", *map[i].name);
2031 string_length = sprintf (st, "%s", *map[i].name);
2089 (void) strncpy (fhdr.magic, XCOFFARMAG, SXCOFFARMAG);
2113 const char *name;
2124 name = normalize_filename (sub);
2125 namlen = strlen (name);
2164 /* If the length of the name is odd, we write out the null byte
2165 after the name as well. */
2190 || bfd_bwrite ((PTR) name, namlen, abfd) != namlen
2261 const char *name;
2264 name = normalize_filename (sub);
2265 namlen = strlen (name);
2266 if (bfd_bwrite ((PTR) name, namlen + 1, abfd) != namlen + 1)
2285 /* Write out the archive file header. */
2319 memcpy (fhdr.magic, XCOFFARMAGBIG, SXCOFFARMAG);
2353 const char *name;
2358 name = normalize_filename (current_bfd);
2359 namlen = strlen (name);
2400 /* If the length of the name is odd, we write out the null byte
2401 after the name as well. */
2413 Their text section needs to be aligned wrt the archive file position.
2429 || bfd_bwrite ((PTR) name, (bfd_size_type) namlen, abfd) != namlen
2521 const char *name;
2524 name = normalize_filename (current_bfd);
2525 namlen = sprintf (mt, "%s", name);
2555 /* Write out the archive file header. */
2597 moved to another file shared by the linker (which XCOFF calls the
2960 /* The _ptrgl function is magic. It is used by the AIX
3250 the input file is the offset from the input file TOC to
3376 howto.name = "internal";
3401 if (sec->name[3] == '0'
3402 && strcmp (sec->name, ".tc0") == 0)
3475 const char *name;
3481 name = "*ABS*";
3485 name = NULL;
3489 name = _bfd_coff_internal_syment_name (input_bfd, sym, buf);
3490 if (name == NULL)
3491 name = "UNKNOWN";
3496 (info, (h ? &h->root : NULL), name, reloc_type_name,
3507 /* Put the value back in the object file. */
3518 _bfd_xcoff_put_ldsymbol_name (abfd, ldinfo, ldsym, name)
3522 const char *name;
3525 len = strlen (name);
3528 strncpy (ldsym->_l._l_name, name, SYMNMLEN);
3554 strcpy (ldinfo->strings + ldinfo->string_size + 2, name);
3566 const char *name)
3568 if (strlen (name) <= SYMNMLEN)
3570 strncpy (sym->_n._n_name, name, SYMNMLEN);
3580 indx = _bfd_stringtab_add (strtab, name, hash, FALSE);
3694 /* file header */
3725 0x0014 0x00000040 : offset to init name
3731 0x002C 0x00000??? : offset to fini name
3736 0x0040 init name
3737 0x0040 + initsz fini name */
3954 "R_POS", /* name */
4031 0x01DF, /* magic number */
4226 PowerPC Macs use the same magic numbers as RS/6000
4281 0x01DF, /* magic number */