summaryrefslogtreecommitdiff
path: root/binutils/resrc.c
Commit message (Collapse)AuthorAgeFilesLines
* * rcparse.y (control): ICON controls take an id as the firstDJ Delorie2000-06-131-7/+30
| | | | | | | | | parameter, not an optional string. Also, call new convenience function that takes res_id's. * resrc.c (define_control): missing text means zero-length string, not zero ID. (define_icon_control): New. * windres.h: declare define_icon_control.
* * resrc.c (close_input_stream): zero out cpp_pipe after closing it.DJ Delorie2000-05-261-1/+4
|
* * build fixFrank Ch. Eigler2000-02-191-1/+0
| | | | | | 2000-02-18 Frank Ch. Eigler <fche@redhat.com> * resrc.c: Remove unmatched #if for cygwin.
* Apply Mumit Khan's patch to allow temporary file for process interconnectionNick Clifton2000-01-071-20/+255
|
* * resrc.c (write_rc_rcdata): Fix local variable shadowingIan Lance Taylor1999-09-191-26/+66
| | | | | | | | problem. If RCDATA_BUFFER data can be read as strings, modify code to print the strings as comments. * resres.c: Add casts to avoid warnings. (write_res_data, read_res_data): Don't put the program name in the error message; fatal already puts it there.
* 1999-06-23 Mumit Khan <khan@xraylith.wisc.edu>Ian Lance Taylor1999-06-221-2/+2
| | | | | | | | * configure.in (HAVE_EXECUTABLE_SUFFIX): Define. * dlltool.c (look_for_prog): Use HAVE_EXECUTABLE_SUFFIX. * dllwrap.c (look_for_prog): Likewise. * resrc.c (look_for_default): Likewise. * configure, config.in: Rebuild.
* Based on patches from Mumit Khan <khan@xraylith.wisc.EDU>:Ian Lance Taylor1999-06-221-13/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Define EXECUTABLE_SUFFIX. * dlltool.c: Include "dyn-string.h". Include <stdarg.h> based on ANSI_PROTOTYPES, not __STDC__. (outfile): Remove. (gen_exp_file): Change uses of outfile to use alloca. (make_one_lib_file, make_head, make_tail): Likewise. (gen_lib_file): Likewise. (look_for_prog): New static function. (deduce_name): Rewrite to use look_for_prog. (mcore_elf_gen_out_file): Use dyn_string_t rather than outfile. * dllwrap.c: Don't include <stdio.h>, <errno.h>, <string.h>, <stdlib.h>, or <unistd.h>. Include <sys/stat.h> and either <stdarg.h> or <varargs.h>. (driver_name): Initialize to NULL, not "gcc". (dlltool_name): Initialize to NULL, not "dlltool". (display, inform, look_for_prog, deduce_name): New static functions. (usage): Mention -mno-cygwin. (OPTION_MNO_CYGWIN): Define. (main): Handle -mno-cygwin. Deduce driver_name and dlltool_name. * resrc.c (look_for_default): Make static. Remove unused local path. Check using EXECUTABLE_SUFFIX. (read_rc_file): Allocate enough space to hold EXECUTABLE_SUFFIX. * Makefile.am: Rebuild dependencies. (dllwrap_LDADD): Add $(INTLLIBS). * configure, Makefile.in, config.in: Rebuild.
* * windres.c: add verbose optionDJ Delorie1999-05-251-9/+112
| | | | | | | | (main): process verbose option * resrc.c (look_for_default): new. Look for the default preprocessor in a given location. (read_rc_file): for foo/bar-windres, look for foo/bar-gcc, foo/gcc (in case of foo/windres), and then gcc (the old default).
* 19990502 sourceware importbinu_ss_19990502Richard Henderson1999-05-031-0/+2265