aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-12-10 05:33:49 +0000
committerIan Lance Taylor <ian@airs.com>1993-12-10 05:33:49 +0000
commit0f6df2eee03e3366cc14683fc7f786acc9d6fb0b (patch)
tree0d9fb03becfa80880b3a3b2c1cb6926f8961c622 /ld/ldlang.c
parenta1328e79d045693feff41d66bf4ae881a1b27311 (diff)
downloadgdb-0f6df2eee03e3366cc14683fc7f786acc9d6fb0b.zip
gdb-0f6df2eee03e3366cc14683fc7f786acc9d6fb0b.tar.gz
gdb-0f6df2eee03e3366cc14683fc7f786acc9d6fb0b.tar.bz2
* nlmconv.c (debug, unlink_on_exit): New static variables.
(long_options): Add "debug" and "linker". (main): Handle -d and -l arguments. Make command line input and output files optional. Parse the command file before opening the BFD's, which requires storing more information in local variables. If INPUT names multiple files, link them together. Use OUTPUT for the output file name if not named on command line. (show_usage): Changed for new options. (link_inputs): New function to automatically invoke linker to handle multiple INPUT files. (choose_temp_base_try, choose_temp_base, pexecute): New functions, mostly copied from gcc/gcc.c. * nlmconv.h (input_files, output_file): Declare. * nlmheader.y (input_files, output_file): Define. (command): Support INPUT with a string_list argument. Support OUTPUT. (string_list): Renamed from module_list. * Makefile.in (nlmconv.o): Define LD_NAME based on program_transform_name. Fixes PR 3974.
Diffstat (limited to 'ld/ldlang.c')
0 files changed, 0 insertions, 0 deletions