aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-08-022001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>Charles Wilson3-3/+30
* cofflink.c (coff_link_check_ar_symbols): also search for __imp__symbol as well as _symbol. * linker.c (_bfd_generic_link_add_archive_symbols): also search for __imp__symbol as well as _symbol.
2001-08-022001-08-02 Charles Wilson <cwilson@ece.gatech.edu>Charles Wilson1-5/+156
* ldmain.c (main): initialize link_info.pei386_auto_import * pe-dll.c: new tables for auto-export filtering (auto_export): change API, pass abfd for contextual filtering. Loop thru tables of excluded symbols instead of comparing "by hand". 2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com> * pe-dll.c: new variable pe_dll_enable_extra_debug. New static variable current_sec (static struct sec *). Add forward declaration for add_bfd_to_link. (process_def_file): Don't export undefined symbols. Do not export symbols starting with "_imp__". Call auto_export() with new API. (pe_walk_relocs_of_symbol): New function. (generate_reloc): add optional extra debugging (pe_dll_generate_def_file): eliminate extraneous initial blank line in output (make_one): enlarge symtab to make room for __nm__ symbols (DATA auto-import support). (make_singleton_name_thunk): New function. (make_import_fixup_mark): New function. (make_import_fixup_entry): New function. (pe_create_import_fixup): New function. (add_bfd_to_link): Specify that 'name' argument is a CONST char *. * pe-dll.h: declare new variable pe_dll_extra_pe_debug; declare new functions pe_walk_relocs_of_symbol and pe_create_import_fixup. * emultempl/pe.em: add new options --enable-auto-import, --disable-auto-import, and --enable-extra-pe-debug. (make_import_fixup): New function. (pe_find_data_imports): New function. (pr_sym): New function. (gld_${EMULATION_NAME}_after_open): Add optional extra pe debugging. Call pe_find_data_imports. Mark .idata as DATA, not CODE. 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu> * ld.texinfo: add additional documentation for --export-all-symbols. Document --out-implib, --enable-auto-image-base, --disable-auto-image-base, --dll-search-prefix, --enable-auto-import, and --disable-auto-import. * ldint.texinfo: Add detailed documentation on auto-import implementation.
2001-08-02 * defs.h (SLASH_STRING): If not defined, setKeith Seitz2-4/+6
to "/", regardless of _WIN32, __CYGWIN__, or whatnot.
2001-08-02* cli/cli-decode.h: Include "gdb_regex.h" instead ofMark Kettenis2-1/+4
"gnu-regex.h".
2001-08-02* NEWS: Update.Mark Kettenis2-1/+10
2001-08-02 * config/i386/xm-go32.h: Include xm-i386.h.Eli Zaretskii2-6/+6
(HOST_BYTE_ORDER, HOST_LONG_DOUBLE_FORMAT): Remove definitions.
2001-08-02 The following changes avoid polluting global namespace with theEli Zaretskii14-173/+198
`enable' and `disable' identifiers, because some platforms define in their system headers symbols with global scope that go by those names. * breakpoint.h (enum enable_state): Rename from `enum enable'. Also rename all the enum members to have the "bp_" prefix. (struct breakpoint): Rename the `enable' member to `enable_state'. (enum bpdisp): Rename all members to have the "disp_" prefix. * breakpoint.c: All users of `enum enable' and `enum bpdisp' changed. (args_for_catchpoint_enable): Rename the `enable' member to `enable_p'. All users changed. * tracepoint.h (enum enable): Remove. (struct tracepoint): The member `enabled' is now `int enabled_p'. * tracepoint.c: All users of the `enabled' member changed. * printcmd.c (struct display): The `status' member is now an int. * memattr.h (struct mem_region): Rename the `status' member to `enabled_p'. (enum enable): Remove. * memattr.c: Change all users of the `status' member of struct mem_region to use `enabled_p' instead. * infcmd.c (run_stack_dummy): Use disp_del instead of del. * go32-nat.c: Remove the kludgey work-around for conflicts between <dos.h> and "breakpoint.h". * tui/tuiSourceWin.c: Use disp_del instead of del. * tui/tuiSource.c: Use disp_del instead of del. * tui/tuiDisassem.c: Use disp_del instead of del.
2001-08-02 * gdb.texinfo: Explain omitting the hostname in theCorinna Vinschen2-0/+17
`target remote' command.
2001-08-02 * gas/mips/mips-gp32-fp32,Richard Sandiford22-0/+2329
* gas/mips/mips-gp32-fp64, * gas/mips/mips-gp64-fp32, * gas/mips/mips-gp64-fp64, * gas/mips/mips-abi32, * gas/mips/mips-gp32-fp32-pic, * gas/mips/mips-gp32-fp64-pic, * gas/mips/mips-gp64-fp32-pic, * gas/mips/mips-gp64-fp64-pic, * gas/mips/mips-abi32-pic: New testcases. * gas/mips/mips.exp: Run them.
2001-08-02 * doc/c-mips.tex (-mgp32, -mfp32): Added -mfp32, unified with -mgp32.Richard Sandiford3-259/+202
* config/tc-mips.c (mips_fp32, mips_32bit_abi): New static variables. (md_long_opts): Add -mfp32 option. (md_parse_option): Handle it. Set mips_32bit_abi given -mabi=32. (md_show_usage): Show usage for -mfp32 and -mgp32. (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): New macros. (HAVE_64BIT_GPRS, HAVE_64BIT_FPRS): New macros, inverse of the above. (HAVE_32BIT_ADDRESSES): New macro. (load_register): Use HAVE_32BIT_GPRS to determine the register width. (load_address): Use HAVE_32BIT_ADDRESSES to determine the address size. (s_cprestore, s_cpadd): Likewise. (macro): Use HAVE_32BIT_GPRS to determine the width of registers used in branch and M_LI_D macros. Use HAVE_64BIT_FPRS to determine the width registers used in M_LI_DD macros. Use HAVE_32BIT_ADDRESSES to determine the width of addresses in load, store and jump macros. (macro2): Use HAVE_32BIT_GPRS to determine the width of registers used in set instructions; do not check the address size for them. Use HAVE_32BIT_ADDRESSES to determine the width of addresses in unaligned load and store macros. (mips_ip): Use the new macros to check the width of a register when processing float constants. Force a constant into memory if it is destined for an FPR and the FPRs are wider than the GPRs. Warn about odd FPR numbers if HAVE_32BIT_FPRS. Use HAVE_32BIT_GPRS rather than mips_gp32 to select synthetic instructions. (macro_build): Use HAVE_32BIT_GPRS rather than mips_gp32 to select synthetic instructions.
2001-08-02 * MAINTAINERS: Add myself to the write-after-approval list.Corinna Vinschen3-0/+10
* ser-tcp.c (tcp_open): Use `localhost' as default host if no hostname is given.
2001-08-02Removed a section of code that didn't do anything, but left values inJohn R. Moore2-19/+5
memory. This was labeled as a hack to set r0/r1 with argc/argv.
2001-08-02*** empty log message ***gdbadmin1-1/+1
2001-08-01* doublest.h (store_floating, floatformat_to_doublest): Make INAndrew Cagney3-7/+19
paramter a const void pointer. (floatformat_from_doublest): Make IN const, Make OUT a void pointer. * doublest.c (floatformat_to_doublest): Update. (floatformat_from_doublest): Update. (extract_floating): Update.
2001-08-01* defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)Andrew Cagney28-679/+806
(HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT) (HOST_LONG_DOUBLE_FORMAT, DOUBLEST) (floatformat_to_doublest, floatformat_from_doublest) (floatformat_is_negative, floatformat_is_nan) (floatformat_mantissa, store_floating) (extract_floating): Move declaration from here. * doublest.h: To here. New file. * utils.c (get_field, floatformat_to_doublest, put_field) (ldfrexp, floatformat_from_doublest, floatformat_is_negative) (floatformat_is_nan, floatformat_mantissa) (FLOATFORMAT_CHAR_BIT): Move from here. * doublest.c: To here. New file. * findvar.c (store_floating, extract_floating): Move from here. * doublest.c: To here. * Makefile.in (SFILES): Add doublest.c. (COMMON_OBS): Add doublest.o. (doublest.o): Specify dependencies. (doublest_h): Define. * config/m88k/tm-m88k.h: Include "doublest.h". * config/i960/tm-i960.h: Ditto. * config/i386/tm-symmetry.h: Ditto. * rs6000-tdep.c, valarith.c: Ditto. * valprint.c, stabsread.c, sh-tdep.c: Ditto. * ia64-tdep.c, i387-tdep.c, i386-tdep.c: Ditto. * values.c, arm-tdep.c, arm-linux-tdep.c: Ditto. * alpha-tdep.c, ax.h, expression.h: Ditto. * sh-tdep.c, parse.c, top.c, value.h: Ditto. * Makefile.in (arm-tdep.o): Add $(doublest_h). (i386-tdep.o, i387-tdep.o, ia64-tdep.o): Ditto. (rs6000-tdep.o, stabsread.o, valarith.o): Ditto. (values.o, valprint.o, arm-linux-tdep.o): Ditto. (alpha-tdep.o, ax_h, parse.o, top.o, value_h): Ditto. (parser_defs_h): Ditto. (expression_h): Add $(doublest_h) and $(symtab_h).
2001-08-01* Makefile.in: Sort header definitions.Andrew Cagney2-209/+214
(parser_defs_h, dis_asm_h, annotate_h, gdbthread_h): Define. Replace parser-defs.h with $(parser_defs_h). Replace $(dis-asm_h) and $(dis-asm.h) with $(dis_asm_h). Replace annotate.h with $(annotate_h). Replace target.h with $(target_h). Replace gdbthread.h with $(gdb_thread_h). Replace symfile.h with $(symfile_h).
2001-08-01Return zero only as the last step of qsort function.Nick Clifton2-5/+13
2001-08-01Use @command{name} for commands. Use @option{-opt} for options.Nick Clifton3-455/+475
Use @table @env for list of options. Remove spaces arround [ | ] in synopsis. Use 'GNU Development Tools' for the center title.
2001-08-01Cleanups for z8k targetNick Clifton5-33/+68
2001-08-01Replace VXWORKS with ARM_COFF_BUGFIX.Nick Clifton3-5/+14
2001-08-01Do not require any exception support library. Check results against NRV.Nick Clifton3-17/+59
2001-08-01Do not require any exception support library.Nick Clifton2-1/+6
2001-08-012001-08-01 Aldy Hernandez <aldyh@redhat.com>Aldy Hernandez2-1/+5
* include/opcode/mips.h (INSN_ISA_MASK): Nuke bits 12-15.
2001-08-01Fix a typo in my entry from 2001-06-13.Eli Zaretskii1-1/+1
2001-08-01 * config/tc-i386.c (lex_got): Match lower case relocation tokens.Alan Modra2-7/+26
Don't allocate more space than necessary for the input line copy.
2001-08-01 * gas/elf/section2.l: Adjust warning message comparison.Alan Modra2-1/+5
2001-08-01 * read.c: Standardize error/warning messages - don't capitalise, noAlan Modra20-170/+224
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-08-01*** empty log message ***gdbadmin1-1/+1
2001-07-31 * config/tc-ppc.c (ppc_elf_validate_fix): It's OK to haveGeoffrey Keating2-1/+6
any kind of relocation against a not-loaded section.
2001-07-31* config/i386/xm-i386.h: New file.Mark Kettenis5-41/+29
* config/i386/xm-fbsd.h: Removed. * config/i386/xm-linux.h: Removed. * config/i386/fbsd.mh: Reorganize a bit. (XM_FILE): Set to xm-i386.h instead of xm-fbsd.h. * config/i386/linux.mh (XM_FILE): Set to xm-i386.h insread of xm-linux.h.
2001-07-31 * tui.c (tui_enable): Remove call to terminal_save_ours().Stephane Carrez2-5/+5
(tui_disable): Likewise.
2001-07-31 * gdbint.texinfo: Remove extraneous START-INFO-DIR-ENTRYDaniel Jacobowitz2-2/+5
and END-INFO-DIR-ENTRY.
2001-07-31Implement new switch --rename-sectionNick Clifton4-51/+207
2001-07-312001-07-31 Ben Elliston <bje@redhat.com>Ben Elliston2-6/+12
* lib/sim-defs.exp (run_sim_test): Include a description such as "assembling" or "linking" that identifies the phase a test fails in, for easier analysis of failures.
2001-07-31*** empty log message ***gdbadmin1-1/+1
2001-07-30* dwarf2read.c (dwarf2_build_psymtabs_hard): Doc fix.Jim Blandy2-0/+32
2001-07-30 * configure.in: Only invoke AC_FUNC_SETPGRP if not cross-compiling.Daniel Jacobowitz3-391/+445
Check for SETPGRP_VOID separately if cross-compiling and ISO C headers are available.
2001-07-30* config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to callMark Kettenis2-0/+8
i386_dwarf_reg_to_regnum.
2001-07-30* i386-tdep.c (i386_register_convert_to_virtual): ReplaceMark Kettenis2-1/+14
assertion with a warning if we're asked to convert towards a non-floating-point type. Zero out the the buffer where the data is supposed to be stored in that case.
2001-07-30merge from gccDJ Delorie1-0/+3
2001-07-30Fix prototype of _bfd_ecoff_styp_to_sec_flagsNick Clifton2-1/+6
2001-07-30Fix computation in SECTIONS example.Nick Clifton2-1/+6
2001-07-30merge from gccDJ Delorie2-46/+124
2001-07-30 * gas/mips/mips.exp (el): New variable.Richard Sandiford2-39/+17
Use it to pick ELF reloc tests.
2001-07-30Change bug-gnu-utils@gcc.org to the mor obvious bug-binutils@gcc.orgNick Clifton3-2/+8
2001-07-30* config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,Mark Kettenis1-0/+7
DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines. (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New prototypes. * config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h, config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call i386_dwarf_reg_to_regnum. * i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New functions.
2001-07-30 * config/obj-elf.c (obj_elf_symver): Temporarily modify lex_typeAlan Modra7-127/+102
to include '@' in symbol names when parsing versioned symbols rather than calling get_symbol_end multiple times. * config/tc-i370.c (register_name): Format fixes. Don't call get_symbol_end after parsing number. * config/tc-mn10200.c (data_register_name): Format fixes. Hoist code out of conditional. (address_register_name): Likewise. (other_register_name): Likewise. * config/tc-mn10300.c (r_register_name): Likewise. (xr_register_name): Likewise. (data_register_name): Likewise. (address_register_name): Likewise. (other_register_name): Likewise. * config/tc-ppc.c (register_name): Likewise. * config/tc-s390.c (register_name): Likewise.
2001-07-30*** empty log message ***gdbadmin1-1/+1
2001-07-29Unset CDPATH before doing annything else.Eli Zaretskii2-0/+6
2001-07-29 * go32-nat.c (get_cr3): Temporary disable support for page tablesEli Zaretskii2-0/+5
in UMBs, as it is incomplete.