binutils-gdb/gas/config
Joseph Myers 104d59d19c bfd:
* elf-attrs.c: New.
	* Makefile.am (BFD32_BACKENDS): Add elf-attrs.lo.
	(BFD32_BACKENDS_CFILES): Add elf-attrs.c.
	(elf-attrs.lo): Generate dependencies.
	* Makefile.in: Regenerate.
	* configure.in (elf): Add elf-attrs.lo.
	* configure: Regenerate.
	* elf-bfd.h (struct elf_backend_data): Add entries for object
	attributes.
	(NUM_KNOWN_OBJ_ATTRIBUTES, obj_attribute, obj_attribute_list,
	OBJ_ATTR_PROC, OBJ_ATTR_GNU, OBJ_ATTR_FIRST, OBJ_ATTR_LAST,
	Tag_NULL, Tag_File, Tag_Section, Tag_Symbol, Tag_compatibility):
	New.
	(struct elf_obj_tdata): Add entries for object attributes.
	(elf_known_obj_attributes, elf_other_obj_attributes,
	elf_known_obj_attributes_proc, elf_other_obj_attributes_proc):
	New.
	(bfd_elf_obj_attr_size, bfd_elf_set_obj_attr_contents,
	bfd_elf_get_obj_attr_int, bfd_elf_add_obj_attr_int,
	bfd_elf_add_proc_attr_int, bfd_elf_add_obj_attr_string,
	bfd_elf_add_proc_attr_string, bfd_elf_add_obj_attr_compat,
	bfd_elf_add_proc_attr_compat, _bfd_elf_attr_strdup,
	_bfd_elf_copy_obj_attributes, _bfd_elf_obj_attrs_arg_type,
	_bfd_elf_parse_attributes, _bfd_elf_merge_object_attributes): New.
	* elf.c (_bfd_elf_copy_private_bfd_data): Copy object attributes.
	(bfd_section_from_shdr): Handle attributes sections.
	* elflink.c (bfd_elf_final_link): Handle attributes sections.
	* elfxx-target.h (elf_backend_obj_attrs_vendor,
	elf_backend_obj_attrs_section, elf_backend_obj_attrs_arg_type,
	elf_backend_obj_attrs_section_type): New.
	(elfNN_bed): Update.
	* elf32-arm.c (NUM_KNOWN_ATTRIBUTES, aeabi_attribute,
	aeabi_attribute_list): Remove.
	(struct elf32_arm_obj_tdata): Remove object attributes fields.
	(check_use_blx, bfd_elf32_arm_set_vfp11_fix, using_thumb2,
	elf32_arm_copy_private_bfd_data, elf32_arm_merge_eabi_attributes):
	Update for new object attributes interfaces.
	(uleb128_size, is_default_attr, eabi_attr_size,
	elf32_arm_eabi_attr_size, write_uleb128, write_eabi_attribute,
	elf32_arm_set_eabi_attr_contents, elf32_arm_bfd_final_link,
	elf32_arm_new_eabi_attr, elf32_arm_get_eabi_attr_int,
	elf32_arm_add_eabi_attr_int, attr_strdup,
	elf32_arm_add_eabi_attr_string, elf32_arm_add_eabi_attr_compat,
	copy_eabi_attributes, elf32_arm_parse_attributes): Remove.  Moved
	to generic code in elf-attrs.c.
	(elf32_arm_obj_attrs_arg_type): New.
	(elf32_arm_fake_sections): Do not handle .ARM.attributes.
	(elf32_arm_section_from_shdr): Do not handle SHT_ARM_ATTRIBUTES.
	(bfd_elf32_bfd_final_link): Remove.
	(elf_backend_obj_attrs_vendor, elf_backend_obj_attrs_section,
	elf_backend_obj_attrs_arg_type,
	elf_backend_obj_attrs_section_type): New.
	* elf32-bfin.c (bfin_elf_copy_private_bfd_data): Copy object
	attributes.
	* elf32-frv.c (frv_elf_copy_private_bfd_data): Likewise.
	* elf32-iq2000.c (iq2000_elf_copy_private_bfd_data): Likewise.
	* elf32-mep.c (mep_elf_copy_private_bfd_data): Likewise.
	* elf32-mt.c (mt_elf_copy_private_bfd_data): Likewise.
	* elf32-sh.c (sh_elf_copy_private_data): Likewise.
	* elf64-sh64.c (sh_elf64_copy_private_data_internal): Likewise.

binutils:
	* readelf.c (display_gnu_attribute): New.
	(process_arm_specific): Rearrange as process_attributes.
	(process_arm_specific): Replace by wrapper of process_attributes.

gas:
	* as.c (create_obj_attrs_section): New.
	(main): Call create_obj_attrs_section for ELF.
	* read.c (s_gnu_attribute, skip_whitespace, skip_past_char,
	skip_past_comma, s_vendor_attribute): New.
	(potable): Add gnu_attribute for ELF.
	* read.h (s_vendor_attribute): Declare.
	* config/tc-arm.c (s_arm_eabi_attribute): Replace by wrapper
	round s_vendor_attribute.
	(aeabi_set_public_attributes): Update for new attributes
	interfaces.
	(arm_md_end): Remove attributes contents setting now done
	generically.

include/elf:
	* arm.h (elf32_arm_add_eabi_attr_int,
	elf32_arm_add_eabi_attr_string, elf32_arm_add_eabi_attr_compat,
	elf32_arm_get_eabi_attr_int, elf32_arm_set_eabi_attr_contents,
	elf32_arm_eabi_attr_size, Tag_NULL, Tag_File, Tag_Section,
	Tag_Symbol, Tag_compatibility): Remove.
	* common.h (SHT_GNU_ATTRIBUTES): Define.

ld:
	* emulparams/armelf.sh (OTHER_SECTIONS): Remove .ARM.attributes.
	(ATTRS_SECTIONS): Define.
	* scripttempl/elf.sc, scripttempl/elf32sh-symbian.sc,
	scripttempl/elf_chaos.sc, scripttempl/elfi370.sc,
	scripttempl/elfxtensa.sc: Handle ATTRS_SECTIONS.
2007-06-29 16:29:17 +00:00
..
aout_gnu.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
atof-ieee.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
atof-vax.c * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned. 2007-04-21 13:04:14 +00:00
bfin-aux.h * Makefile.am: Bfin support. 2005-09-30 15:05:07 +00:00
bfin-defs.h remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
bfin-lex.l remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
bfin-parse.y * config/bfin-parse.y (binary): Change sub of const to add of negated 2006-09-18 20:13:23 +00:00
e-crisaout.c
e-criself.c
e-i386aout.c
e-i386coff.c
e-i386elf.c
e-mipsecoff.c
e-mipself.c
itbl-mips.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
m68k-parse.h gas/ 2007-04-20 14:09:00 +00:00
m68k-parse.y * config/m68k-parse.h: Use ISO C90. 2005-06-23 11:40:29 +00:00
obj-aout.c * README-vms: Delete. 2005-08-11 01:25:29 +00:00
obj-aout.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
obj-coff.c * config/obj-coff.c, config/tc-arm.c, config/tc-bfin.c, 2006-04-23 22:12:43 +00:00
obj-coff.h Add x86_64-mingw64 target 2006-09-20 11:35:11 +00:00
obj-ecoff.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
obj-ecoff.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
obj-elf.c * config/obj-elf.c (elf_frob_file): frag_wane any new frags. 2007-02-27 07:16:31 +00:00
obj-elf.h remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
obj-evax.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
obj-evax.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
obj-multi.c
obj-multi.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
obj-som.c * as.h (as_perror): Delete declaration. 2006-09-22 11:35:14 +00:00
obj-som.h remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-alpha.c PR gas/4124 2007-03-21 16:08:14 +00:00
tc-alpha.h PR gas/3165 2006-09-11 02:32:50 +00:00
tc-arc.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-arc.h gas: 2005-06-07 17:54:22 +00:00
tc-arm.c bfd: 2007-06-29 16:29:17 +00:00
tc-arm.h gas/ 2007-03-15 12:11:50 +00:00
tc-avr.c * config/tc-avr.c (mcu_types): Add support for atmega8hva and 2007-04-26 17:18:23 +00:00
tc-avr.h PR 4082 2007-02-20 23:02:58 +00:00
tc-bfin.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-bfin.h * write.c (TC_FX_SIZE_SLACK): Define. 2007-02-17 23:13:49 +00:00
tc-cr16.c New port: National Semiconductor's CR16 2007-06-29 14:09:34 +00:00
tc-cr16.h New port: National Semiconductor's CR16 2007-06-29 14:09:34 +00:00
tc-cris.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-cris.h * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move. 2007-02-01 14:12:20 +00:00
tc-crx.c * config/obj-coff.c, config/tc-arm.c, config/tc-bfin.c, 2006-04-23 22:12:43 +00:00
tc-crx.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-d10v.c PR gas/3797 2007-02-28 18:38:51 +00:00
tc-d10v.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-d30v.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-d30v.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-dlx.c gas: 2005-06-07 17:54:22 +00:00
tc-dlx.h remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-fr30.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-fr30.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-frv.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-frv.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-generic.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
tc-generic.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
tc-h8300.c * config/tc-h8300.c (build_bytes): Fix const warning. 2006-11-02 21:39:56 +00:00
tc-h8300.h * write.c (TC_FX_SIZE_SLACK): Define. 2007-02-17 23:13:49 +00:00
tc-hppa.c 2006-10-29 Randolph Chung <tausq@debian.org> 2006-10-30 01:09:18 +00:00
tc-hppa.h 2006-10-29 Randolph Chung <tausq@debian.org> 2006-10-30 01:09:18 +00:00
tc-i370.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-i370.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-i386.c gas/ 2007-06-25 21:20:20 +00:00
tc-i386.h 2007-03-21 H.J. Lu <hongjiu.lu@intel.com> 2007-03-21 15:37:21 +00:00
tc-i860.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-i860.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-i960.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-i960.h * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move. 2007-02-01 14:12:20 +00:00
tc-ia64.c Fix typo. 2007-04-21 12:25:13 +00:00
tc-ia64.h * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move. 2007-02-01 14:12:20 +00:00
tc-ip2k.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-ip2k.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-iq2000.c * config/tc-iq2000.c: Include sb.h. 2006-06-09 03:42:25 +00:00
tc-iq2000.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-m32c.c * m32c.cpu (Imm-8-s4n): Fix print hook. 2007-03-29 23:56:39 +00:00
tc-m32c.h * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3 2007-02-04 04:45:36 +00:00
tc-m32r.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-m32r.h * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. 2007-01-12 06:23:52 +00:00
tc-m68hc11.c * config/tc-m68hc11.c (fixup24): Correct fixup size. 2007-02-27 08:15:17 +00:00
tc-m68hc11.h * dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs 2005-09-20 18:24:48 +00:00
tc-m68k.c * config/tc-m68k.c (md_apply_fix): Show value of out of range 2007-05-17 13:10:42 +00:00
tc-m68k.h * config/tc-arm.c, config/tc-arm.h (tc_arm_regname_to_dw2regnum): 2006-05-19 11:26:11 +00:00
tc-m68851.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
tc-maxq.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-maxq.h * config/obj-coff.c, config/tc-arm.c, config/tc-bfin.c, 2006-04-23 22:12:43 +00:00
tc-mcore.c * config/tc-mcore.c (md_number_to_chars): Use number_to_chars_{big|little}endian. 2007-01-11 08:58:56 +00:00
tc-mcore.h 2005-08-18 Christian Groessler <chris@groessler.org> 2005-08-18 11:54:33 +00:00
tc-mep.c Support for Toshiba MeP and for complex relocations. 2007-02-05 20:10:25 +00:00
tc-mep.h Support for Toshiba MeP and for complex relocations. 2007-02-05 20:10:25 +00:00
tc-mips.c bfd/ 2007-06-25 10:13:57 +00:00
tc-mips.h bfd/ 2007-06-25 10:13:57 +00:00
tc-mmix.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-mmix.h * write.c (TC_FX_SIZE_SLACK): Define. 2007-02-17 23:13:49 +00:00
tc-mn10200.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-mn10200.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-mn10300.c * config/tc-mn10300.c (md_convert_frag): Correct fixup size. 2007-02-22 22:34:16 +00:00
tc-mn10300.h * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. 2007-01-12 06:23:52 +00:00
tc-msp430.c PR gas/2623 2007-02-28 10:02:37 +00:00
tc-msp430.h 2005-08-12 Dmitry Diky <diwil@spec.ru> 2005-08-12 11:54:23 +00:00
tc-mt.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-mt.h Second part of ms1 to mt renaming. 2005-12-16 10:23:12 +00:00
tc-ns32k.c * ecoff.c (ecoff_directive_val): Fix message typo. 2006-08-29 01:31:56 +00:00
tc-ns32k.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-openrisc.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-openrisc.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-or32.c * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned. 2007-04-21 13:04:14 +00:00
tc-or32.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-pdp11.c Fix compile time warnings from a GCC 4.0 compiler 2005-07-05 15:07:46 +00:00
tc-pdp11.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
tc-pj.c gas: 2005-06-07 17:54:22 +00:00
tc-pj.h gas: 2005-06-07 17:54:22 +00:00
tc-ppc.c * config/tc-ppc.c: Convert to ISO C. 2007-05-29 01:57:08 +00:00
tc-ppc.h * config/tc-ppc.c: Convert to ISO C. 2007-05-29 01:57:08 +00:00
tc-s390.c 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com> 2007-03-06 13:19:08 +00:00
tc-s390.h * config/tc-arm.c, config/tc-arm.h (tc_arm_regname_to_dw2regnum): 2006-05-19 11:26:11 +00:00
tc-score.c 2007-05-14 Mei Ligang <ligang@sunnorth.com.cn> 2007-05-14 10:06:32 +00:00
tc-score.h Add support for Score target. 2006-09-16 23:51:50 +00:00
tc-sh64.c * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned. 2007-04-21 13:04:14 +00:00
tc-sh64.h * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move. 2007-02-01 14:12:20 +00:00
tc-sh.c * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned. 2007-04-21 13:04:14 +00:00
tc-sh.h * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned. 2007-04-21 13:04:14 +00:00
tc-sparc.c Patch for PR4587 + move proc run_list_test into gas-defs.exp 2007-06-05 17:00:33 +00:00
tc-sparc.h * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move. 2007-02-01 14:12:20 +00:00
tc-spu.c * config/tc-spu.c (spu_cons): Use deferred_expression. Handle 2007-06-05 00:28:04 +00:00
tc-spu.h * config/tc-spu.c (spu_cons): Use deferred_expression. Handle 2007-06-05 00:28:04 +00:00
tc-tic4x.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-tic4x.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-tic30.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-tic30.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-tic54x.c * as.h (as_perror): Delete declaration. 2006-09-22 11:35:14 +00:00
tc-tic54x.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-v850.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-v850.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-vax.c 2007-04-06 Matt Thomas <matt@netbsd.org> 2007-04-06 16:36:48 +00:00
tc-vax.h 2007-04-06 Matt Thomas <matt@netbsd.org> 2007-04-06 16:36:48 +00:00
tc-xc16x.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-xc16x.h * config/tc-xc16x.h (TC_LINKRELAX_FIXUP): Delete. 2006-04-18 09:50:08 +00:00
tc-xstormy16.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-xstormy16.h * write.c (TC_FX_SIZE_SLACK): Define. 2007-02-17 23:13:49 +00:00
tc-xtensa.c * config/tc-xtensa.c (xg_assembly_relax): Comment termination rules. 2007-06-22 18:44:50 +00:00
tc-xtensa.h * config/tc-xtensa.c (xg_assembly_relax): Comment termination rules. 2007-06-22 18:44:50 +00:00
tc-z8k.c * config/tc-z8k.c (whatreg): Add comment describing function. 2006-12-08 22:15:11 +00:00
tc-z8k.h Re-enable GAS for z8k-coff 2005-08-26 09:47:49 +00:00
tc-z80.c remove some duplicate #include's. 2006-06-07 11:27:58 +00:00
tc-z80.h removed z80_optimize_expr; redundant since 2006-04-04 2006-04-09 18:08:08 +00:00
te-386bsd.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-aix5.h
te-armeabi.h * configure.tgt: Set emulation for arm-*-eabi*. 2005-03-16 17:27:17 +00:00
te-armlinuxeabi.h * configure.tgt: Set emulation for arm-*-eabi*. 2005-03-16 17:27:17 +00:00
te-dynix.h
te-epoc-pe.h
te-freebsd.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-generic.h
te-gnu.h * configure.tgt (i386-*-gnu*): Set em=gnu. 2005-11-16 03:44:10 +00:00
te-go32.h
te-hppa64.h
te-hppa.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-hppalinux64.h
te-hpux.h
te-i386aix.h
te-ia64aix.h
te-interix.h
te-irix.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-linux.h
te-lnews.h
te-lynx.h
te-mach.h
te-macos.h
te-nbsd532.h
te-nbsd.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-netware.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-pc532mach.h
te-pe.h
te-pep.h Add x86_64-mingw64 target 2006-09-20 11:35:11 +00:00
te-psos.h
te-riscix.h
te-sparcaout.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-sun3.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-svr4.h
te-symbian.h * configure.tgt: Set emulation for arm-*-eabi*. 2005-03-16 17:27:17 +00:00
te-tmips.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-vxworks.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-wince-pe.h
vax-inst.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
xtensa-istack.h * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field. 2007-02-02 23:26:53 +00:00
xtensa-relax.c * config/tc-xtensa.c (xg_assembly_relax): Comment termination rules. 2007-06-22 18:44:50 +00:00
xtensa-relax.h * config/xtensa-relax.h (struct build_instr): Delete id field. 2007-02-02 23:09:50 +00:00