Nick Clifton
5885be8939
(make_one_lib_file): For IDATA6 take the name from exp->internal_name if it
...
is present.
2004-09-02 15:55:36 +00:00
Nick Clifton
607dea9764
dlltool.c (ext_prefix_alias): New global variable.
...
(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.
2004-07-12 17:07:55 +00:00
Nick Clifton
2758961ac0
(asm_prefix): Add parameter: name. No underscore for symbols beginning with ?.
...
(ASM_PREFIX): Add parameter: NAME.
(gen_exp_file): Use new parameter.
(make_label): Likewise.
(make_imp_label): Likewise.
(make_one_lib_file): Likewise.
2004-07-09 16:20:05 +00:00
Alan Modra
135dfb4a65
* objcopy.c (copy_section): Use bfd_get_section_size instead of
...
_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.
2004-06-15 01:19:13 +00:00
Nick Clifton
7aa52b1f65
Honour the PRIVATE keyword
2004-03-08 11:50:36 +00:00
Christopher Faylor
eff21b8ec2
* dlltool.c (gen_exp_file): Always output names for forwarded symbols.
2004-02-21 21:28:22 +00:00
Danny Smith
f93464114f
* doc/binutils.texi (dlltool): Document dlltool --temp-prefix
...
option.
* dlltool.c (usage): Likewise.
2003-11-25 19:50:04 +00:00
Kazu Hirata
50c2245bd8
* ChangeLog: Fix typos.
...
* 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.
2003-10-27 13:20:32 +00:00
Anthony Green
739fea7ba8
Fix C90 conversion
2003-09-15 14:40:44 +00:00
Andreas Jaeger
2da42df615
* addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
...
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.
2003-09-14 12:20:17 +00:00
Christopher Faylor
ff6b622203
* dlltool.c (prefix_encode): Use a fixed length for alpha.
2003-07-05 13:49:50 +00:00
Christopher Faylor
bf7a6389e8
* dlltool.c (prefix_encode): New function. Encode temp file prefix from pid.
...
(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.
2003-07-05 02:58:29 +00:00
Danny Smith
2630b4ca5f
* dlltool.c (gen_def_file): Put demangled name comments on
...
own line preceding export name.
2003-03-22 21:04:50 +00:00
Christopher Faylor
0e11a9e98d
* rclex.l (handle_quotes): Fix minor formatting problems introduced in previous
...
change.
2003-02-20 03:31:42 +00:00
Alan Modra
55b9cdf15a
* dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
...
dyn_string_append with dyn_string_append_cstr.
* emul_aix.c (ar_emul_aix_create): Remove unused function.
2002-12-12 21:10:09 +00:00
Alan Modra
b34976b65a
s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify
...
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
2002-11-30 08:39:46 +00:00
Nick Clifton
c9e3887989
Adds support for fastcall symbols as used on Microsoft Windows platforms
...
(i386)
2002-11-06 19:36:20 +00:00
Kazu Hirata
260449986e
* debug.c: Fix formatting.
...
* debug.h: Likewise.
* dlltool.c: Likewise.
* dllwrap.c: Likewise.
* emul_aix.c: Likewise.
* emul_vanilla.c: Likewise.
2002-05-20 18:23:05 +00:00
Alan Modra
e80ff7de61
* dlltool.c (process_def_file): Add missing prototype.
...
(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.
2002-05-05 23:25:27 +00:00
Nick Clifton
f3f7fbb215
Take into account --kill-at (-k) while generating .exp file.
2002-03-01 15:34:32 +00:00
Nick Clifton
8b53311e10
Tidy up formatting of --help output.
2002-01-23 16:12:56 +00:00
H.J. Lu
3882b01078
Locale changes from Bruno Haible <haible@clisp.cons.org>.
2001-09-19 05:33:36 +00:00
DJ Delorie
4bd3d87018
* dlltool.c (do_default_excludes): Initialise to true.
2001-04-17 23:28:38 +00:00
DJ Delorie
bee723322c
* dlltool.c (make_one_lib_file): Fix section flags for
...
.text, .data and .bss in stub ds*.o files to match those
generated by gas.
2001-03-30 01:34:54 +00:00
Christopher Faylor
04847a4d3e
* defparse.y (opt_equal_name): allow "." in name.
...
* dlltool.c (def_exports): Added ability to generate forwarded exports.
(gen_exp_file): Likewise.
2001-03-14 02:56:45 +00:00
Nick Clifton
8c2bc6877d
Fix typos in ChangeLogs and update copyright notices
2001-03-13 06:43:59 +00:00
Nick Clifton
a8c548cb0c
Add missing support for arm-epoc-pe.
2000-12-19 22:22:02 +00:00
Alan Modra
37cc8ec1be
A mostly cosmetic tidy up of warnings and error message reporting.
2000-04-07 04:34:50 +00:00
Nick Clifton
8a0e0f38af
Add support for WinCE targeted toolchains.
2000-02-24 19:37:32 +00:00
Nick Clifton
ba8c44fcf6
fix dll table lookup code for Motorola
2000-01-20 23:42:51 +00:00
Nick Clifton
fda8e7c4e9
add year 2000 copyright notice
2000-01-05 00:04:43 +00:00
Nick Clifton
5f0f29c341
Apply Mumit Khan's patch to implement --compat-implib command line switch
2000-01-04 23:59:42 +00:00
Andrew Haley
893addd8f4
1999-12-23 Andrew Haley <aph@cygnus.com>
...
* dlltool.c (mtable): mcore how_jtab_roff is 4 bytes into the
jtab; was 8.
1999-12-23 18:41:13 +00:00
Nick Clifton
eaeaa15ca4
change default arm gas abi selection to 32
1999-12-17 18:40:42 +00:00
Nick Clifton
5ea695edcd
Fix compile time warnings
1999-12-17 18:38:37 +00:00
Nick Clifton
a2186dfed7
Pass -mpacs-26 by default to arm assembler.
...
Add arm-epoc target support.
Do no mangle null page entries.
1999-12-09 17:42:25 +00:00
Nick Clifton
7e301c9cbd
Chnage the default endianness for mcore to little
1999-11-03 18:16:52 +00:00
Nick Clifton
f932f8e1da
clip shorts to prevent assembler warnings
1999-11-03 10:56:31 +00:00
Nick Clifton
96925346de
Remove spurious test of exp_name
1999-10-26 10:10:51 +00:00
Nick Clifton
49c245078a
Add default assembler switchhes on a per machine basis.
...
Use machine target type when opening output bfd files.
1999-10-22 15:50:28 +00:00
DJ Delorie
ce195b4280
* dlltool.c (scan_drectve_symbols): Handle type tags in exported
...
symbols.
(scan_filtered_symbols): Likewise.
1999-09-28 20:08:37 +00:00
Nick Clifton
aff05906d2
extend comment.
1999-08-19 13:11:30 +00:00
Nick Clifton
6e7d820549
only emit -mthumb-interowrk directive if really necessary.
1999-08-18 14:52:59 +00:00
Ian Lance Taylor
2481e6a24f
1999-06-23 Mumit Khan <khan@xraylith.wisc.edu>
...
* 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.
1999-06-22 22:50:22 +00:00
Ian Lance Taylor
bb0cb4db08
Based on patches from Mumit Khan <khan@xraylith.wisc.EDU>:
...
* 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.
1999-06-22 20:39:46 +00:00
Nick Clifton
74479bd3b9
Link object files with the .exp file, not the .lib file
1999-06-21 03:25:35 +00:00
Nick Clifton
762100ed56
Use macros to hold names of temporary files.
1999-06-03 13:22:45 +00:00
Richard Henderson
d8bcc1ac10
* dlltool.c (gen_exp_file): Revert 19990411 change.
1999-06-02 12:37:48 +00:00
Nick Clifton
49e315b1a1
Add support for generating an mcore-elf dll.
1999-05-16 14:12:20 +00:00
Nick Clifton
661016bb24
Add support for mcore to dlltool.
1999-05-15 15:25:22 +00:00
Catherine Moore
b890a73569
* dlltool.c (interwork): Remove.
...
(arm_interwork_jtab): Use bx insn.
(thumb_jtab): Likewise.
(MARM_INTERWORK): New machine type.
(rvaafter): Handle it.
(rvabefore) Likewise.
(asm_prefix): Likewise.
(gen_exp_type): Check machine type instead of
interwork flag.
(make_one_lib_file): Likewise.
(make_head): Likewise.
(make_tail): Likewise.
(usage): Update machine types.
(main): Remove -interwork support.
1999-05-05 19:02:14 +00:00
Richard Henderson
252b5132c7
19990502 sourceware import
1999-05-03 07:29:11 +00:00