summaryrefslogtreecommitdiff
path: root/binutils/dlltool.c
Commit message (Collapse)AuthorAgeFilesLines
...
* * dlltool.c (dump_iat): Remove unused function.Ben Elliston2005-01-211-419/+328
| | | | | | | | | | | | | | | | (gen_exp_file): Remove #if 0'd code. (make_one_lib_file): Likewise. * srconv.c: Remove #if 0'd code throughout. * size.c (lprint_number): Remove. (print_berkeley_format): Remove #if 0'd code. * ar.c (do_quick_append): Remove declaration and definiton. (main): Remove #if 0'd code. * filemode.c (filemodestring): Remove #if 0'd function. * sysdump.c (unit_info_list): Remove function. (object_body_list): Likewise. (program_structure): Likewise. (debug_list): Likewise. (module): Remove #if 0'd code.
* * dlltool.c (set_dll_name_from_def): New function. Strip nameDanny Smith2005-01-161-8/+23
| | | | | | | | to basename, with warning. (def_name): Use it. (def_library): Likwise. (main): Strip arg of --dllname to basename, with warning. Only use basename of exp_name when inferring dll_name.
* * dlltool.c: Comment fix.Ben Elliston2004-12-061-1/+1
|
* * dlltool.c: Include <assert.h>.Nick Clifton2004-10-231-36/+38
| | | | | | | | | | | | | | | | | (PREFIX_ALIAS_BASE): Define. (struct export): Add member import_name; (def_exports): Set import_name. (make_one_lib_file): Remove prefix alias code, use import_name in .idata$6. (gen_lib_file): Create and delete aliases. * binutils-all/alias.def: New file. * binutils-all/dlltool.exp: Two new -p tests. * config/default.exp (dlltool_gas_flag): New variable. Copy gas and lds executables into tmpdir/gas directory rather than making symlinks which might not be supported by the host OS. Attempt to handle the case where the host OS does not use the .exe extension but the target OS does. * lib/utils-lib.exp (exe_ext): New procedure.
* dlltool.c (make_one_lib_file): Revert 2004-09-02 and 2004-09-04 patches.Nick Clifton2004-10-081-8/+2
| | | | doc/binutils.texi (dlltool): Revert 2004-09-06 patch.
* * dlltool.c (make_one_lib): Test if internal_name was specifiedDanny Smith2004-09-041-2/+5
| | | | by user before using it.
* (make_one_lib_file): For IDATA6 take the name from exp->internal_name if itNick Clifton2004-09-021-3/+6
| | | | is present.
* dlltool.c (ext_prefix_alias): New global variable.Nick Clifton2004-07-121-5/+44
| | | | | | | | | | (make_one_lib_file): Add aliases with prefixes for external and import definitions. (usage): Document -p option. (long_options): Add --ext-prefix-alias option. (main): Handle -p. * doc/binutils.texi: Document new switch. * NEWS: Mention new switch.
* (asm_prefix): Add parameter: name. No underscore for symbols beginning with ?.Nick Clifton2004-07-091-31/+35
| | | | | | | | (ASM_PREFIX): Add parameter: NAME. (gen_exp_file): Use new parameter. (make_label): Likewise. (make_imp_label): Likewise. (make_one_lib_file): Likewise.
* * objcopy.c (copy_section): Use bfd_get_section_size instead ofAlan Modra2004-06-151-1/+1
| | | | | | | | | | | | | | | | _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done. (compare_section_lma): Likewise. * addr2line.c (find_address_in_section): Likewise. * coffgrok.c (do_sections_p1): Likewise. * dlltool.c (scan_drectve_symbols): Likewise. * nlmconv.c (main): Likewise. (copy_sections): Likewise. (powerpc_mangle_relocs): Likewise. * objdump.c (disassemble_section): Likewise. * prdbg.c (find_address_in_section): Likewise. * size.c (berkeley_sum): Likewise. * srconv.c (wr_ob): Likewise. * strings.c (strings_a_section): Likewise.
* Honour the PRIVATE keywordNick Clifton2004-03-081-35/+33
|
* * dlltool.c (gen_exp_file): Always output names for forwarded symbols.Christopher Faylor2004-02-211-6/+6
|
* * doc/binutils.texi (dlltool): Document dlltool --temp-prefixDanny Smith2003-11-251-0/+1
| | | | | option. * dlltool.c (usage): Likewise.
* * ChangeLog: Fix typos.Kazu Hirata2003-10-271-5/+5
| | | | | | | | | | | | | | | | | | | | * ChangeLog-9197: Likewise. * ChangeLog-9899: Likewise. * NEWS: Likewise. * ar.c: Fix comment typos. * arsup.c: Likewise. * coffgrok.c: Likewise. * debug.c: Likewise. * debug.h: Likewise. * dlltool.c: Likewise. * ieee.c: Likewise. * nm.c: Likewise. * objdump.c: Likewise. * prdbg.c: Likewise. * readelf.c: Likewise. * resrc.c: Likewise. * sysinfo.y: Likewise. * windres.c: Likewise.
* Fix C90 conversionAnthony Green2003-09-151-5/+5
|
* * addr2line.c: Convert to ISO C90 prototypes, change PTR, removeAndreas Jaeger2003-09-141-248/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unneeded (void *) casts. * ar.c: Likewise. * arlex.l: Likewise. * arparse.y: Likewise. * arsup.c: Likewise. * binemul.c: Likewise. * binemul.h: Likewise. * bucomm.c: Likewise. * bucomm.h: Likewise. * budbg.h: Likewise. * budemang.c: Likewise. * budemang.h: Likewise. * coffdump.c: Likewise. * coffgrok.c: Likewise. * cxxfilt.c: Likewise. * debug.c: Likewise. * debug.h: Likewise. * deflex.l: Likewise. * dlltool.c: Likewise. * dlltool.h: Likewise. * dllwrap.c: Likewise. * emul_aix.c: Likewise. * filemode.c: Likewise. * ieee.c: Likewise. * nlmconv.c: Likewise. * nlmconv.h: Likewise. * nlmheader.y: Likewise. * nm.c: Likewise. * prdbg.c: Likewise. * rclex.l: Likewise. * rcparse.y: Likewise. * rdcoff.c: Likewise. * rddbg.c: Likewise. * rename.c: Likewise. * resbin.c: Likewise. * rescoff.c: Likewise. * resrc.c: Likewise. * size.c: Likewise. * srconv.c: Likewise. * stabs.c: Likewise. * strings.c: Likewise. * sysdump.c: Likewise. * sysinfo.y: Likewise. * syslex.l: Likewise. * unwind-ia64.c: Likewise. * unwind-ia64.h: Likewise. * version.c: Likewise. * windres.c: Likewise. * windres.h: Likewise. * winduni.c: Likewise. * wrstabs.c: Likewise.
* * dlltool.c (prefix_encode): Use a fixed length for alpha.Christopher Faylor2003-07-051-1/+1
|
* * dlltool.c (prefix_encode): New function. Encode temp file prefix from pid.Christopher Faylor2003-07-051-14/+34
| | | | | | | | (dlltmp): Pass address of pointer being alloced or suffer neverending mallocs. (make_one_lib_file): Allocate enough space for new longer stub names. (gen_lib_file): Ditto. (main): Generate the temp file prefix from the pid if prefix was not specified on the command line.
* * dlltool.c (gen_def_file): Put demangled name comments onDanny Smith2003-03-221-8/+10
| | | | own line preceding export name.
* * rclex.l (handle_quotes): Fix minor formatting problems introduced in previousChristopher Faylor2003-02-201-6/+27
| | | | change.
* * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences ofAlan Modra2002-12-121-26/+26
| | | | | | dyn_string_append with dyn_string_append_cstr. * emul_aix.c (ar_emul_aix_create): Remove unused function.
* s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. SimplifyAlan Modra2002-11-301-70/+115
| | | | comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
* Adds support for fastcall symbols as used on Microsoft Windows platformsNick Clifton2002-11-061-141/+163
| | | | (i386)
* * debug.c: Fix formatting.Kazu Hirata2002-05-201-115/+115
| | | | | | | | * debug.h: Likewise. * dlltool.c: Likewise. * dllwrap.c: Likewise. * emul_aix.c: Likewise. * emul_vanilla.c: Likewise.
* * dlltool.c (process_def_file): Add missing prototype.Alan Modra2002-05-051-19/+13
| | | | | | | | | | | | | | (new_directive, assemble_file, main): Likewise. (process_def_file, new_directive): Make static. (inform): Rewrite using VA_FIXEDARG. * dllwrap.c (mybasename): Add missing prototype. (strhash, main): Likewise. (inform): Rewrite using VA_FIXEDARG. (warn): Likewise. (cleanup_and_exit): Use old style function definition. (strhash): Likewise. * windres.c (define_resource): Use one memset to clear all of struct res_resource.
* Take into account --kill-at (-k) while generating .exp file.Nick Clifton2002-03-011-2/+2
|
* Tidy up formatting of --help output.Nick Clifton2002-01-231-3/+4
|
* Locale changes from Bruno Haible <haible@clisp.cons.org>.H.J. Lu2001-09-191-3/+6
|
* * dlltool.c (do_default_excludes): Initialise to true.DJ Delorie2001-04-171-1/+1
|
* * dlltool.c (make_one_lib_file): Fix section flags forDJ Delorie2001-03-301-10/+19
| | | | | .text, .data and .bss in stub ds*.o files to match those generated by gas.
* * defparse.y (opt_equal_name): allow "." in name.Christopher Faylor2001-03-141-7/+29
| | | | | * dlltool.c (def_exports): Added ability to generate forwarded exports. (gen_exp_file): Likewise.
* Fix typos in ChangeLogs and update copyright noticesNick Clifton2001-03-131-1/+2
|
* Add missing support for arm-epoc-pe.Nick Clifton2000-12-191-1/+8
|
* A mostly cosmetic tidy up of warnings and error message reporting.Alan Modra2000-04-071-57/+19
|
* Add support for WinCE targeted toolchains.Nick Clifton2000-02-241-0/+8
|
* fix dll table lookup code for MotorolaNick Clifton2000-01-201-14/+18
|
* add year 2000 copyright noticeNick Clifton2000-01-051-1/+1
|
* Apply Mumit Khan's patch to implement --compat-implib command line switchNick Clifton2000-01-041-21/+39
|
* 1999-12-23 Andrew Haley <aph@cygnus.com>Andrew Haley1999-12-231-4/+4
| | | | | * dlltool.c (mtable): mcore how_jtab_roff is 4 bytes into the jtab; was 8.
* change default arm gas abi selection to 32Nick Clifton1999-12-171-1/+1
|
* Fix compile time warningsNick Clifton1999-12-171-11/+16
|
* Pass -mpacs-26 by default to arm assembler.Nick Clifton1999-12-091-7/+21
| | | | | Add arm-epoc target support. Do no mangle null page entries.
* Chnage the default endianness for mcore to littleNick Clifton1999-11-031-4/+4
|
* clip shorts to prevent assembler warningsNick Clifton1999-11-031-3/+4
|
* Remove spurious test of exp_nameNick Clifton1999-10-261-2/+1
|
* Add default assembler switchhes on a per machine basis.Nick Clifton1999-10-221-62/+57
| | | | Use machine target type when opening output bfd files.
* * dlltool.c (scan_drectve_symbols): Handle type tags in exportedDJ Delorie1999-09-281-4/+19
| | | | | symbols. (scan_filtered_symbols): Likewise.
* extend comment.Nick Clifton1999-08-191-2/+27
|
* only emit -mthumb-interowrk directive if really necessary.Nick Clifton1999-08-181-12/+12
|
* 1999-06-23 Mumit Khan <khan@xraylith.wisc.edu>Ian Lance Taylor1999-06-221-3/+3
| | | | | | | | * 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.