old-cross-binutils/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
atof-ieee.c
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
bfin-defs.h
bfin-lex.l
bfin-parse.y
e-crisaout.c
e-criself.c
e-i386aout.c
e-i386coff.c
e-i386elf.c
e-mipsecoff.c
e-mipself.c
itbl-mips.h
m68k-parse.h gas/ 2007-04-20 14:09:00 +00:00
m68k-parse.y
obj-aout.c
obj-aout.h
obj-coff.c
obj-coff.h
obj-ecoff.c
obj-ecoff.h
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
obj-evax.c
obj-evax.h
obj-multi.c
obj-multi.h
obj-som.c
obj-som.h
tc-alpha.c PR gas/4124 2007-03-21 16:08:14 +00:00
tc-alpha.h
tc-arc.c
tc-arc.h
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
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
tc-cris.h * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move. 2007-02-01 14:12:20 +00:00
tc-crx.c
tc-crx.h
tc-d10v.c PR gas/3797 2007-02-28 18:38:51 +00:00
tc-d10v.h
tc-d30v.c
tc-d30v.h
tc-dlx.c
tc-dlx.h
tc-fr30.c
tc-fr30.h
tc-frv.c
tc-frv.h
tc-generic.c
tc-generic.h
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
tc-i370.h
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
tc-i860.h
tc-i960.c
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
tc-ip2k.h
tc-iq2000.c
tc-iq2000.h
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
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
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
tc-m68851.h
tc-maxq.c
tc-maxq.h
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
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
tc-mmix.h * write.c (TC_FX_SIZE_SLACK): Define. 2007-02-17 23:13:49 +00:00
tc-mn10200.c
tc-mn10200.h
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
tc-mt.c
tc-mt.h
tc-ns32k.c
tc-ns32k.h
tc-openrisc.c
tc-openrisc.h
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
tc-pdp11.c
tc-pdp11.h
tc-pj.c
tc-pj.h
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
tc-score.c 2007-05-14 Mei Ligang <ligang@sunnorth.com.cn> 2007-05-14 10:06:32 +00:00
tc-score.h
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-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-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
tc-tic4x.h
tc-tic30.c
tc-tic30.h
tc-tic54x.c
tc-tic54x.h
tc-v850.c
tc-v850.h
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
tc-xc16x.h
tc-xstormy16.c
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
tc-z80.c
tc-z80.h
te-386bsd.h
te-aix5.h
te-armeabi.h
te-armlinuxeabi.h
te-dynix.h
te-epoc-pe.h
te-freebsd.h
te-generic.h
te-gnu.h
te-go32.h
te-hppa.h
te-hppa64.h
te-hppalinux64.h
te-hpux.h
te-i386aix.h
te-ia64aix.h
te-interix.h
te-irix.h
te-linux.h
te-lnews.h
te-lynx.h
te-mach.h
te-macos.h
te-nbsd.h
te-nbsd532.h
te-netware.h
te-pc532mach.h
te-pe.h
te-pep.h
te-psos.h
te-riscix.h
te-sparcaout.h
te-sun3.h
te-svr4.h
te-symbian.h
te-tmips.h
te-vxworks.h
te-wince-pe.h
vax-inst.h
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