aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-10-14 09:15:09 +0000
committerNick Clifton <nickc@redhat.com>2013-10-14 09:15:09 +0000
commitb2e951ec58973b911515b0770ef859cf9b779533 (patch)
tree1ff43aa3d9c21b43d814854de29f9fed0a19d9ff /gas/testsuite
parentbb5ce47a22881c8f925459d4622a2126d6a6a751 (diff)
downloadgdb-b2e951ec58973b911515b0770ef859cf9b779533.zip
gdb-b2e951ec58973b911515b0770ef859cf9b779533.tar.gz
gdb-b2e951ec58973b911515b0770ef859cf9b779533.tar.bz2
* gen-aout.c (main): Fix formatting. Close file.
* emultempl/aix.em (_read_file): Close file at end of function. * gas/all/itbl-test.c (main): Close fas. * read.c (add_include_dir): Use xrealloc. * config/tc-score.c (do_macro_bcmp): Initialise inst_main. * config/tc-tic6x.c (tic6x_parse_operand): Initialise second_reg. * readelf.c (decode_arm_unwind): Initialise addr structure. (process_symbol_table): Free lengths. * srcconv.c (wr_sc): Free info. * chew.c (perform): Free next.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/all/itbl-test.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 5513867..9100e4b 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2013-10-14 Nick Clifton <nickc@redhat.com>
+
+ * gas/all/itbl-test.c (main): Close fas.
+
2013-10-13 Sandra Loosemore <sandra@codesourcery.com>
* gas/nios2/warn_nobreak.l: Update text of warning messages.
diff --git a/gas/testsuite/gas/all/itbl-test.c b/gas/testsuite/gas/all/itbl-test.c
index 38fcfc5..c00ff1a 100644
--- a/gas/testsuite/gas/all/itbl-test.c
+++ b/gas/testsuite/gas/all/itbl-test.c
@@ -1,6 +1,6 @@
/* itbl-test.c
- Copyright (C) 1997, 2005, 2007 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 Free Software Foundation.
This file is part of GAS, the GNU Assembler.
@@ -97,6 +97,7 @@ main (int argc, char **argv)
test_reg (3, e_creg, "c2", 22);
test_reg (3, e_dreg, "d3", 3);
+ fclose (fas);
return 0;
}