aboutsummaryrefslogtreecommitdiff
path: root/gas/input-file.c
AgeCommit message (Collapse)AuthorFilesLines
2005-03-03update copyright datesAlan Modra1-1/+1
2005-02-21 * input-file.c (input_file_open): Rearrange to avoid warning.Alan Modra1-9/+15
2003-12-19Fix calls to as_perror() so that the errno system message will be printed.Nick Clifton1-13/+16
Fix as_perror() so that errno is not corrupted.
2003-12-18(input_file_open): Remove call to stat(). Add a check for getc() failing, andNick Clifton1-18/+23
catch the case where the failure is due to an attempt to read a directory.
2003-11-24 * hash.c: Convert to ISO-C.Kazu Hirata1-17/+12
* hash.h: Likewise. * input-file.c: Likewise. * input-file.h: Likewise. * input-scrub.c: Likewise. * itbl-ops.c: Likewise. * itbl-ops.h: Likewise.
2003-11-07Use consistent error messages for missing files.Nick Clifton1-4/+21
Detect directories where an ordinary file is expected.
2003-10-27 * ChangeLog: Fix typos.Kazu Hirata1-1/+1
* ChangeLog-9295: Likewise. * as.c: Fix comment typos. * as.h: Likewise. * atof-generic.c: Likewise. * bit_fix.h: Likewise. * frags.h: Likewise. * hash.c: Likewise. * input-file.c: Likewise. * input-scrub.c: Likewise. * itbl-ops.c: Likewise. * itbl-parse.y: Likewise. * listing.c: Likewise. * macro.h: Likewise. * read.c: Likewise. * sb.c: Likewise. * sb.h: Likewise. * symbols.c: Likewise. * symbols.h: Likewise.
2002-05-18 * app.c: Fix formatting.Kazu Hirata1-20/+20
* as.c: Likewise. * ehopt.c: Likewise. * expr.c: Likewise. * input-file.c: Likewise. * listing.c: Likewise. * macro.h: Likewise. * stabs.c: Likewise. * symbols.c: Likewise.
2001-10-11Use ISSPACE instead of isspaceNick Clifton1-3/+3
2001-09-262001-09-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston1-11/+21
* input-file.c (input_file_open): When reading the first line looking for #NO_APP, prepare for the possibility of finding #APP instead. Also fix algorithm to allow white-space to follow either #NO_APP or #APP directives.
2001-08-01 * read.c: Standardize error/warning messages - don't capitalise, noAlan Modra1-1/+1
final period or newline, don't say "ignored" or "zero assumed" for as_bad messages. In some cases, change the wording to that used elsewhere for similar messages. * app.c, as.c, atof-generic.c, cgen.c, cond.c, depend.c, dwarf2dbg.c, ecoff.c, expr.c, frags.c, input-file.c, input-scrub.c, listing.c, output-file.c, stabs.c, subsegs.c, symbols.c, write.c: Likewise. * ecoff.c (ecoff_directive_end): Test for missing name by comparing input line pointers rather than reading string. (ecoff_directive_ent): Likewise. * read.c (s_set): Likewise. (s_align): Report a warning rather than an error for alignment too large. (s_comm): Check for missing symbol name. (s_lcomm_internal): Likewise. (s_lsym): Likewise. (s_globl): Use is_end_of_line instead of looking for '\n'. (s_lcomm_internal): Likewise. (ignore_rest_of_line): Report a warning rather than an error.
2001-07-10Use FOPEN_.. macros in calls to fopen().Nick Clifton1-40/+37
2001-03-08Fix copyright noticesNick Clifton1-1/+1
2000-11-062000-11-06 Kazu Hirata <kazu@hxi.com>Kazu Hirata1-11/+8
* input-file.c: Fix formatting. * input-file.h: Likewise. * input-scrub.c: Likewise.
2000-09-092000-09-09 Kazu Hirata <kazu@hxi.com>Kazu Hirata1-14/+14
* input-file.c: Fix formatting. * itbl-ops.c: Likewise. * messages.c: Likewise.
1999-06-03 * app.c (input_buffer): New static variable.Ian Lance Taylor1-9/+10
(app_push): Save saved_input in allocated buffer. (app_pop): Restored saved_input. (do_scrub_chars): Change get parameter to take char * and int as arguments. Change GET macro to pass input_buffer to get function. Don't save input into allocated buffer. * as.h (do_scrub_chars): Update declaration. * input-file.c (input_file_get): Change to take char * and int. Read data into passed in buffer. Remove static buffer. * read.c (scrub_from_string): Change to take char * and int. Copy data into passed in buffer.
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+248