old-cross-binutils/include
Alan Modra d495ab0d84 Free linker hash table from bfd_close.
Also tidies numerous error exit paths in various link_hash_table_create
functions that failed to free memory.

include/
	* bfdlink.h (struct bfd_link_hash_table): Add hash_table_free field.
bfd/
	* archive.c: Include bfdlink.h.
	(_bfd_archive_close_and_cleanup): Call linker hash_table_free.
	* bfd.c (struct bfd): Add is_linker_output field.
	* elf-bfd.h (_bfd_elf_link_hash_table_free): Update prototype.
	* linker.c (_bfd_link_hash_table_init): Set up hash_table_free,
	link.hash and is_linker_output.
	(_bfd_generic_link_hash_table_free): Replace bfd_link_hash_table*
	param with bfd*.  Assert is_linker_output and link.hash, and
	clear them before exit.
	* elf-m10300.c (elf32_mn10300_link_hash_table_free): Replace
	bfd_link_hash_table* param with bfd*.  Hack is_linker_output
	and link.hash so we can free two linker hash tables.
	(elf32_mn10300_link_hash_table_create): Create static_hash_table
	first.  Clean up on errors.  Set hash_table_free pointer.
	* elf32-arm.c (elf32_arm_link_hash_table_free): Replace
	bfd_link_hash_table* param with bfd*.
	(elf32_arm_link_hash_table_create): Clean up on errors.  Set
	hash_table_free pointer.
	* elf32-avr.c, * elf32-hppa.c, * elf32-i386.c, * elf32-m68hc1x.c,
	* elf32-m68k.c, * elf32-metag.c, * elf32-nios2.c, * elf32-xgate.c,
	* elf64-ia64-vms.c, * elf64-ppc.c, * elf64-x86-64.c, * elflink.c,
	* elfnn-aarch64.c, * elfnn-ia64.c, * elfxx-sparc.c,
	* xcofflink.c: Similarly.
	* simple.c (bfd_simple_get_relocated_section_contents): Save and
	clear link.next before creating linker hash table.  Clean up on
	errors, and restore link.next on exit.
	* elf32-m68hc1x.h (m68hc11_elf_bfd_link_hash_table_free): Delete.
	* elf32-xgate.h (xgate_elf_bfd_link_hash_table_free): Delete.
	* elfxx-sparc.h (_bfd_sparc_elf_link_hash_table_free): Delete.
	* libcoff-in.h (_bfd_xcoff_bfd_link_hash_table_free): Delete.
	* hash.c (bfd_hash_table_init_n): Free table on error.
	* libbfd-in.h (_bfd_generic_link_hash_table_free): Update proto.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
	* libcoff.h: Regenerate.
2014-06-13 19:11:39 +09:30
..
aout Update copyright years 2014-03-05 22:16:15 +10:30
cgen Update copyright years 2014-03-05 22:16:15 +10:30
coff Remove support for the (deprecated) openrisc and or32 configurations and replace 2014-04-22 15:57:47 +01:00
elf Remove support for the (deprecated) openrisc and or32 configurations and replace 2014-04-22 15:57:47 +01:00
gdb sim: constify arg to sim_do_command 2014-03-10 22:57:29 -04:00
mach-o Mach-O: Add objdump -P dyld_info to dump dyld data. 2014-04-16 12:16:02 +02:00
nlm Update copyright years 2014-03-05 22:16:15 +10:30
opcode Fix MSP430 assembler to support #hi(<symbol>). 2014-05-20 10:28:42 +01:00
som Update copyright years 2014-03-05 22:16:15 +10:30
vms Update copyright years 2014-03-05 22:16:15 +10:30
alloca-conf.h Update copyright years 2014-03-05 22:16:15 +10:30
ansidecl.h [PATCH] include * ansidecl.h (ANSI_PROTOTYPES, PTRCONST, LONG_DOUBLE, PARAMS) (VPARAMS, VA_START, VA_OPEN, VA_CLOSE, VA_FIXEDARG, CONST) (VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, AND, DOTS) (NOARGS): Don't define. * libiberty.h (expandargv, writeargv): Don't use PARAMS. libiberty * _doprint.c (checkit): Use stdarg, not VA_* macros. * asprintf.c (asprintf): Use stdarg, not VA_* macros. * concat.c (concat_length, concat_copy, concat_copy2, concat) (reconcat): Use stdarg, not VA_* macros. * snprintf.c (snprintf): Use stdarg, not VA_* macros. * vasprintf.c (checkit): Use stdarg, not VA_* macros. * vsnprintf.c (checkit): Use stdarg, not VA_* macros. 2014-01-21 08:52:09 -07:00
bfdlink.h Free linker hash table from bfd_close. 2014-06-13 19:11:39 +09:30
binary-io.h Update copyright years 2014-03-05 22:16:15 +10:30
bout.h Update copyright years 2014-03-05 22:16:15 +10:30
ChangeLog Free linker hash table from bfd_close. 2014-06-13 19:11:39 +09:30
ChangeLog-9103 Add copyright notices 2012-12-10 12:48:03 +00:00
COPYING
COPYING3
demangle.h libiberty: sync with gcc 2014-01-06 13:44:21 -05:00
dis-asm.h Remove support for the (deprecated) openrisc and or32 configurations and replace 2014-04-22 15:57:47 +01:00
dwarf2.def merge from gcc 2013-08-20 06:02:53 +00:00
dwarf2.h Restore patch lost in last merge from GCC. 2013-03-01 23:40:38 +00:00
dyn-string.h
fibheap.h
filenames.h include/ 2012-07-13 23:39:46 +00:00
floatformat.h merge from gcc 2013-08-20 06:02:53 +00:00
fnmatch.h
fopen-bin.h Update copyright years 2014-03-05 22:16:15 +10:30
fopen-same.h Update copyright years 2014-03-05 22:16:15 +10:30
fopen-vms.h Update copyright years 2014-03-05 22:16:15 +10:30
getopt.h
hashtab.h
hp-symtab.h Update copyright years 2014-03-05 22:16:15 +10:30
ieee.h Update copyright years 2014-03-05 22:16:15 +10:30
leb128.h * leb128.h: #include stdint.h, inttypes.h. 2012-05-24 01:18:15 +00:00
libiberty.h [PATCH] include * ansidecl.h (ANSI_PROTOTYPES, PTRCONST, LONG_DOUBLE, PARAMS) (VPARAMS, VA_START, VA_OPEN, VA_CLOSE, VA_FIXEDARG, CONST) (VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, AND, DOTS) (NOARGS): Don't define. * libiberty.h (expandargv, writeargv): Don't use PARAMS. libiberty * _doprint.c (checkit): Use stdarg, not VA_* macros. * asprintf.c (asprintf): Use stdarg, not VA_* macros. * concat.c (concat_length, concat_copy, concat_copy2, concat) (reconcat): Use stdarg, not VA_* macros. * snprintf.c (snprintf): Use stdarg, not VA_* macros. * vasprintf.c (checkit): Use stdarg, not VA_* macros. * vsnprintf.c (checkit): Use stdarg, not VA_* macros. 2014-01-21 08:52:09 -07:00
longlong.h 2014-05-01 Steve Ellcey <sellcey@mips.com> 2014-05-01 09:09:33 -07:00
lto-symtab.h
MAINTAINERS Update copyright years 2014-03-05 22:16:15 +10:30
md5.h PR other/54620 2013-01-30 16:52:35 +00:00
oasys.h Update copyright years 2014-03-05 22:16:15 +10:30
objalloc.h merge from gcc 2012-10-10 03:11:33 +00:00
obstack.h * obstack.h [!GNUC] (obstack_free): Avoid cast to int. 2011-10-22 01:35:29 +00:00
os9k.h Update copyright years 2014-03-05 22:16:15 +10:30
partition.h
plugin-api.h This patch assigns explicit integers to enum values corresponding 2013-02-11 19:36:56 +00:00
progress.h Update copyright years 2014-03-05 22:16:15 +10:30
safe-ctype.h
sha1.h PR other/54620 2013-01-30 16:52:35 +00:00
simple-object.h
sort.h
splay-tree.h merge from gcc 2012-04-10 17:07:35 +00:00
symcat.h
timeval-utils.h merge from gcc 2011-09-28 20:01:45 +00:00
vtv-change-permission.h merge from gcc 2013-08-07 15:04:28 +00:00
xregex.h merge from gcc 2011-07-25 17:11:48 +00:00
xregex2.h
xtensa-config.h
xtensa-isa-internal.h Update copyright years 2014-03-05 22:16:15 +10:30
xtensa-isa.h Update copyright years 2014-03-05 22:16:15 +10:30