Lines Matching refs:input_bfd
678 bfd * input_bfd,
694 if (uses_msp430x_relocs (input_bfd))
710 if (uses_msp430x_relocs (input_bfd))
752 if (uses_msp430x_relocs (input_bfd))
768 srel += bfd_get_16 (input_bfd, contents);
771 bfd_put_16 (input_bfd, srel & 0xffff, contents);
778 srel += bfd_get_16 (input_bfd, contents) & 0x3ff;
802 NULL, input_bfd, input_section, relocation);
809 x = bfd_get_16 (input_bfd, contents);
811 bfd_put_16 (input_bfd, x, contents);
821 addend = (bfd_get_16 (input_bfd, contents) & 0xf) << 16;
822 addend |= bfd_get_16 (input_bfd, contents+4);
831 bfd_put_16 (input_bfd, (srel & 0xffff), contents + 6);
832 x = bfd_get_16 (input_bfd, contents);
834 bfd_put_16 (input_bfd, x, contents);
844 addend = (bfd_get_16 (input_bfd, contents) & 0x0780) << 9;
845 addend |= bfd_get_16 (input_bfd, contents+2);
850 bfd_put_16 (input_bfd, (srel & 0xffff), contents + 4);
852 x = bfd_get_16 (input_bfd, contents);
854 bfd_put_16 (input_bfd, x, contents);
861 srel += bfd_get_16 (input_bfd, contents);
870 bfd_put_16 (input_bfd, srel & 0xffff, contents);
880 addend = (bfd_get_16 (input_bfd, contents) & 0xf) << 16;
881 addend |= bfd_get_16 (input_bfd, contents+2);
889 bfd_put_16 (input_bfd, (srel & 0xffff), contents + 4);
891 x = bfd_get_16 (input_bfd, contents);
893 bfd_put_16 (input_bfd, x, contents);
903 addend = ((bfd_get_16 (input_bfd, contents) & 0x0780) << 9);
904 addend |= bfd_get_16 (input_bfd, contents+2);
913 bfd_put_16 (input_bfd, (srel & 0xffff), contents + 4);
915 x = bfd_get_16 (input_bfd, contents);
917 bfd_put_16 (input_bfd, x, contents);
924 srel += bfd_get_8 (input_bfd, contents);
927 bfd_put_8 (input_bfd, srel & 0xff, contents);
934 srel += bfd_get_16 (input_bfd, contents) & 0xf;
937 bfd_put_16 (input_bfd, (srel & 0xffff), contents + 4);
939 x = bfd_get_16 (input_bfd, contents);
941 bfd_put_16 (input_bfd, x, contents);
951 addend = (bfd_get_16 (input_bfd, contents) & 0xf) << 16;
952 addend |= bfd_get_16 (input_bfd, contents+4);
957 bfd_put_16 (input_bfd, (srel & 0xffff), contents + 6);
959 x = bfd_get_16 (input_bfd, contents);
961 bfd_put_16 (input_bfd, x, contents);
972 addend = ((bfd_get_16 (input_bfd, contents) & 0xf00) << 8);
973 addend |= bfd_get_16 (input_bfd, contents+2);
978 bfd_put_16 (input_bfd, (srel & 0xffff), contents + 2);
980 x = bfd_get_16 (input_bfd, contents);
982 bfd_put_16 (input_bfd, x, contents);
992 addend = ((bfd_get_16 (input_bfd, contents) & 0xf) << 16);
993 addend |= bfd_get_16 (input_bfd, contents+2);
998 bfd_put_16 (input_bfd, (srel & 0xffff), contents + 2);
1000 x = bfd_get_16 (input_bfd, contents);
1002 bfd_put_16 (input_bfd, x, contents);
1009 srel += bfd_get_16 (input_bfd, contents);
1015 bfd_put_16 (input_bfd, srel & 0xffff, contents);
1024 bfd_put_16 (input_bfd, (srel >> 16) & 0xffff, contents);
1034 addend = (bfd_get_16 (input_bfd, contents) & 0xf) << 16;
1035 addend |= bfd_get_16 (input_bfd, contents+2);
1043 bfd_put_16 (input_bfd, srel & 0xffff, contents + 2);
1045 x = bfd_get_16 (input_bfd, contents);
1047 bfd_put_16 (input_bfd, x, contents);
1054 srel += bfd_get_16 (input_bfd, contents);
1060 bfd_put_16 (input_bfd, srel & 0xffff, contents);
1067 srel += (bfd_get_32 (input_bfd, contents) & 0x7fffffff);
1071 x = bfd_get_32 (input_bfd, contents);
1073 bfd_put_32 (input_bfd, x, contents);
1077 r = _bfd_final_link_relocate (howto, input_bfd, input_section,
1110 NULL, input_bfd, input_section, relocation);
1117 x = bfd_get_16 (input_bfd, contents);
1119 bfd_put_16 (input_bfd, x, contents);
1141 x = bfd_get_16 (input_bfd, contents);
1143 bfd_put_16 (input_bfd, x, contents);
1145 x = bfd_get_16 (input_bfd, contents - 2);
1148 bfd_put_16 (input_bfd, x, contents - 2);
1164 bfd_put_16 (input_bfd, srel & 0xffff, contents);
1176 bfd_put_16 (input_bfd, srel & 0xffff, contents);
1183 bfd_put_16 (input_bfd, srel & 0xffff, contents);
1194 bfd_put_16 (input_bfd, srel & 0xffff, contents);
1202 bfd_put_8 (input_bfd, srel & 0xff, contents);
1214 r = _bfd_final_link_relocate (howto, input_bfd, input_section,
1227 bfd * input_bfd,
1239 symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr;
1240 sym_hashes = elf_sym_hashes (input_bfd);
1258 if (uses_msp430x_relocs (input_bfd))
1274 (input_bfd, symtab_hdr->sh_link, sym->st_name);
1275 name = (name == NULL || * name == 0) ? bfd_section_name (input_bfd, sec) : name;
1281 RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel,
1289 RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section,
1295 r = msp430_final_link_relocate (howto, input_bfd, input_section,
1307 (bfd_vma) 0, input_bfd, input_section,
1313 (info, name, input_bfd, input_section, rel->r_offset, TRUE);
1335 (info, msg, name, input_bfd, input_section, rel->r_offset);