aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-08-03 * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handleStephane Carrez3-40/+224
.fini[0-4] sections used by _exit (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM. (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*. * scripttempl/elfm68hc11.sc: Likewise.
2001-08-032001-08-03 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* emultempl/beos.em (init): Add the missing initialization.
2001-08-03 * gas/mips/elf-rel4.s, gas/mips/elf-rel4.d: New test.Richard Sandiford5-2/+56
* gas/mips/e32-rel4.s, gas/mips/e32-rel4.s: New test. * gas/mips/mips.exp: Run new tests.
2001-08-03*** empty log message ***Richard Sandiford1-0/+7
2001-08-03 * config/tc-mips.c (md_apply_fix): Don't subtract the symbol valueRichard Sandiford2-1/+8
from GPREL addends.
2001-08-03* configure.in: Added --with-windres option.DJ Delorie3-0/+12
* configure: Regenerated.
2001-08-03Include offset of reloc from start of section when computing value forNick Clifton2-1/+7
R_ARM_REL32 reloc.
2001-08-03 * elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Don'tAlan Modra3-5/+15
keep relocs for undefined syms if there are no dynamic sections in executable. * elf32-hppa.c (allocate_plt_and_got_and_discard_relocs): Likewise.
2001-08-03 * ld.texinfo (Input Section Basics): Clarify ordering of outputAlan Modra7-202/+269
sections. * ldlang.c (callback_t): Add wildcard_list param. (walk_wild_section): Remove "section" param. Rewrite for lang_wild_statement_type change. Remove unique_section_p test. (walk_wild_file): Remove "section" param. (walk_wild): Remove "section" and "file" params. (lang_gc_wild): Likewise. (wild): Likewise. Modify for lang_wild_statement_type change. (wild_sort): Likewise. Add "sec" param. (gc_section_callback): Likewise. (output_section_callback): Likewise. Do unique_section_p test. (map_input_to_output_sections): Modify call to wild. (lang_gc_sections_1): Likewise. (print_wild_statement): Modify for lang_wild_statement_type change. (lang_add_wild): Replace filename, filenames_sorted param with filespec. Replace section_name, sections_sorted, exclude_filename_list with section_list. * ldlang.h (lang_add_wild): Here too. (lang_wild_statement_type): Replace section_name, sections_sorted, and exclude_filename_list with section_list. * ldgram.y (current_file): Delete. (%union): Add wildcard_list. (file_NAME_list): Set type to wildcard_list. Build a linked list rather than calling lang_add_wild for each entry. (input_section_spec_no_keep): Call lang_add_wild here instead. * ld.h (struct wildcard_list): Declare. * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
2001-08-03*** empty log message ***gdbadmin1-1/+1
2001-08-02merge from gccDJ Delorie2-0/+10
2001-08-022001-08-02 Charles Wilson <cwilson@ece.gatech.edu>Charles Wilson6-25/+709
* 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 * bfdlink.h (struct bfd_link_info): add new booleanCharles Wilson2-0/+9
field pei386_auto_import.
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.