aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-04-13bfd/Jakub Jelinek22-24/+882
* libbfd-in.h (_bfd_merge_section): New. (_bfd_write_merged_section): New. (_bfd_merged_section_offset): New. * libbfd.h: Rebuilt. * linker.c (_bfd_generic_link_output_symbols): Handle discard_sec_merge. * aoutx.h (aout_link_write_symbols): Likewise. * pdp11.c (aout_link_write_symbols): Likewise. * elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section. (elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE sections. (elf_link_sec_merge_syms): New. (elf_link_input_bfd): Call _bfd_merged_section_offset and _bfd_write_merged_section. Handle discard_sec_merge. * elf-bfd.h (struct elf_link_hash_table): Add merge_info field. (struct bfd_elf_section_data): Likewise. * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and SEC_STRINGS section flags and entsize from their ELF counterparts. (_bfd_elf_link_hash_table_init): Initialize merge_info. (elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize from their BFD counterparts. * merge.c: New file. * Makefile.am: Add strtab.lo. * Makefile.in: Rebuilt. include/ * bfdlink.h (bfd_link_discard): Add discard_sec_merge. gas/ * config/obj-elf.c (obj_elf_change_section): Add entsize argument, handle SHF_MERGE and SHF_STRINGS. (obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS. (obj_elf_section): Allow additional argument specifying entity size. * write.c (adjust_reloc_syms): Keep relocations against local symbols in SEC_MERGE sections. ld/ * ldmain.c (main): Default to discard_sec_merge. * lexsup.c (OPTION_DISCARD_NONE): Define. (ld_options): Add --discard-none. (parse_args): Handle OPTION_DISCARD_NONE. * ldlang.c (wild_doit): SEC_MERGE should be set in the output section only if SEC_MERGE and SEC_STRINGS flags and entsize of all its input sections match.
2001-04-12Revise way in which mappings are allocated/searched.Kevin Buettner2-27/+74
2001-04-12 * xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning withNicholas Duffek2-2/+13
"@".
2001-04-12 * config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.Kevin Buettner2-1/+5
2001-04-12 * dwarf2dbg.c (process_entries): Don't optimize redundant line notes.Jason Merrill2-1/+9
2001-04-12* mips.igen (CFC1, CTC1): Pass the correct register numbers toJim Blandy3-4/+12
PENDING_FILL. Use PENDING_SCHED directly to handle the pending set of the FCSR. * sim-main.h (COCIDX): Remove definition; this isn't supported by PENDING_FILL, and you can get the intended effect gracefully by calling PENDING_SCHED directly.
2001-04-12* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,Alexandre Oliva7-147/+342
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.226.
2001-04-12* expr.c (operand): Pass &c to md_parse_name().Alexandre Oliva5-4/+9
* config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust.
2001-04-11Obsolete sun386i.Andrew Cagney12-519/+536
2001-04-11 * MAINTAINERS: Update my email addressAlan Modra3-6/+10
* nm.c (print_symbol_info_bsd): Use a simple printf string.
2001-04-11* maint.c: Fix typo in comment.J.T. Conklin2-1/+5
2001-04-10 * MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.Keith Seitz2-2/+6
2001-04-09 * elflink.h (elf_fix_symbol_flags): For non-default visibilities,Hans-Peter Nilsson2-4/+13
only hide symbols marked STV_INTERNAL or STV_HIDDEN.
2001-04-08Add comments noting that vfork might be defined to be fork.Kevin Buettner3-1/+17
2001-04-08Use cleanup machinery to invoke ui_out_list_end().Kevin Buettner3-3/+17
2001-04-082001-04-05 Steven J. Hill <sjhill@cotw.com>H.J. Lu7-7/+167
* Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o. (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o. (eelf32ltsmip.c): New target. (eelf64btsmip.c): Likewise. (eelf64ltsmip.c): Likewise. * Makefile.in: Regenerated. * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS target. (mips*-*-linux-gnu*): Likewise. * emulparams/elf32ltsmip.sh: New. Traditional little endian MIPS taget. * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian target. * emulparams/elf64ltsmip.sh: New. Traditional 64bit little endian target.
2001-04-082001-04-05 Steven J. Hill <sjhill@cotw.com>H.J. Lu7-285/+346
* config.bfd (mips*el*-*-linux-gnu*): Use traditional little endian MIPS ELF target. * config.bfd (mips*-*-linux-gnu*): Use traditional big endian MIPS ELF target. * configure.in (bfd_elf64_tradbigmips_vec): New. Traditional 64bit big endian MIPS ELF target. (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little endian MIPS ELF target. * configure: Regenerated. * elf32-mips.c (IRIX_COMPAT): Handle traditional 64bit and little endian targets. (mips_elf_sym_is_global): Handle traditional targets. * elf64-mips.c (bfd_elf64_tradbigmips_vec): New. Traditional 64bit big endian MIPS ELF target. (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little endian MIPS ELF target. * targets.c: (_bfd_target_vector): Add bfd_elf64_tradbigmips_vec and bfd_elf64_tradlittlemips_vec.
2001-04-082001-04-07 Steven J. Hill <sjhill@cotw.com>H.J. Lu6-247/+251
* config/tc-mips.c: Support ELF64 for traditional MIPS targets. * Makefile.am: (TARG_ENV_HFILES): Add tc-mips.h. * Makefile.in: Regenerated. * configure.in: Use traditional MIPS targets for Linux/MIPS. * configure: Regenerated.
2001-04-06* dcache.c (dcache_write_line): Fixed bugs where cache line wasJ.T. Conklin2-4/+12
not written to target correctly.
2001-04-06* gdbserver/low-hppabsd.c (read_inferior_memory): Add explicitJ.T. Conklin5-0/+12
void return value; * gdbserver/low-nbsd.c: Likewise. * gdbserver/low-sparc.c: Likewise. * gdbserver/low-sun3.c: Likewise. ---------------------------------------------------------------------
2001-04-06Add self to write-after-approval list.Geoffrey Keating1-0/+1
2001-04-06 * config/rs6000/nm-rs6000.h (PTRACE_ATTACH): Don't define.Geoffrey Keating2-3/+5
(PTRACE_DETACH): Don't define.
2001-04-06Correct erroneous ChangeLog.Christopher Faylor1-1/+0
2001-04-062001-04-06 David Smith <dsmith@redhat.com>David Smith12-3/+170
* arch-utils.c (default_prepare_to_proceed) (generic_prepare_to_proceed): Added new functions. * arch-utils.h: New function declarations for default_prepare_to_proceed() and generic_prepare_to_proceed(). * gdbarch.sh: Added PREPARE_TO_PROCEED. * gdbarch.c: Regenerated. * gdbarch.h: Regenerated. * inferior.h: Added get_last_target_status() declaration. * infrun.c (get_last_target_status): Added new function. (handle_inferior_event): Saves last pid and waitstatus, which will get returned by get_last_target_status(). * hppa-tdep.c (prepare_to_proceed): Added comment stating that prepare_to_proceed() is potentially redundant since default_prepare_to_proceed() has been added. * linux-thread.c (prepare_to_proceed): Ditto. * lin-lwp.c (prepare_to_proceed): Ditto. * m3-nat.c (prepare_to_proceed): Ditto.
2001-04-06Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platformsAndrew Cagney16-266/+293
and powerpc-*-netware* target.
2001-04-062001-04-06 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-1/+5
* buildsym.c (record_line): Turn off unused addr bits.
2001-04-06man page generation from gprof.texi by Stephane CarrezAlan Modra5-227/+846
2001-04-062001-04-06 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-2/+8
From David Deephanphongs <deephan@telocity.com> * inferior.h: Fix declarations of get_inferior_args and set_inferior_args, which were missing the trailing 's'.
2001-04-06 * i386-dis.c: Add ffreep instruction.Andreas Jaeger2-30/+34
2001-04-06* config/tc-mn10300.c (xr_registers): Added `pc'.Alexandre Oliva2-0/+5
2001-04-062001-04-05 David Mosberger <davidm@hpl.hp.com>H.J. Lu2-0/+44
* elf32-i386.c (elf_i386_fake_sections): Treat ".reloc" as an ordinary "progbits" section.
2001-04-05 * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provideHans-Peter Nilsson3-7/+16
correct value of __Stext here. (TEXT_START_SYMBOLS): Define; always define __Stext, to start of .startup section. * emulparams/crislinux.sh: Remove FIXME.
2001-04-05 * cris.h (enum cris_insn_version_usage): Correct comment forHans-Peter Nilsson2-2/+7
cris_ver_v3p.
2001-04-05Remove redundant ChangeLog entry separatorHans-Peter Nilsson1-2/+0
2001-04-05 * gas/cris/fragtest.s, gas/cris/rd-pic-1.s,Hans-Peter Nilsson21-26/+11
gas/cris/binop-cmpmovx.d, gas/cris/binop-cmpmove.d, gas/cris/binop.d, gas/cris/binop.s, gas/cris/brokw-2.d, gas/cris/clear.d, gas/cris/fragtest.s, gas/cris/jump-type.d, gas/cris/nosep.s, gas/cris/pushpop.d, gas/cris/quick.s, gas/cris/range-err-2.s, gas/cris/sep-err-1.s, gas/cris/sreg-to-x.d, gas/cris/test.d, gas/cris/x-to-byte-sreg.d, gas/cris/x-to-word-sreg.d, gas/cris/x-to-dword-sreg.d: Remove trailing empty lines. * gas/cris/continue.s: Ditto, tweak comment.
2001-04-05 * gas/cris/brokw-2.s: Correct broken-word expansion visualizationHans-Peter Nilsson2-0/+3
in comment.
2001-04-05 * gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d,Hans-Peter Nilsson16-0/+834
gas/cris/rd-dw2-4.d, gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d, gas/cris/rd-dw2-7.d, gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d, gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d, gas/cris/rd-dw2-12.d, gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d, gas/cris/rd-dw2-15.d: New tests.
2001-04-05Fix address in ChangeLog entryHans-Peter Nilsson1-1/+1
2001-04-05 * readelf.c (display_debug_lines): Fix typo for "Prologue".Hans-Peter Nilsson2-1/+5
2001-04-052001-04-05 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2-1/+6
* monitor.c (monitor_supply_register): Only report an error if we don't get a valid value.
2001-04-05 * README: Don't mention gdba.el.Eli Zaretskii2-3/+5
2001-04-05 * lib/gas-defs.exp (run_dump_test): Support using readelf.Hans-Peter Nilsson3-4/+20
* config/default.exp: Default READELF and READELFFLAGS.
2001-04-052001-04-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-0/+13
From Jimmy Guo <guo@cup.hp.com> * top.c (init_main): set prompt if annotation_level>1, this is necessary when annotation_level is set to 2 via --annotate=2 command line option.
2001-04-05Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.Andrew Cagney14-849/+874
2001-04-05Fix more breakages from the multiple relax pass patch.Alan Modra7-274/+295
2001-04-05* main.c: Remove windows.h use.Christopher Faylor6-9/+20
(gdbtk_test): Use PATH_MAX for home var calculation. * remote-e7000.c (e7000_parse_device): Accomodate Cygwin as well as Win32 in test. * ser-tcp.c: Use modern __CYGWIN__ conditional. * source.c (mod_path): Add __CYGWIN__ conditional to WIN32 test. (openp): Ditto. * symfile.c (symfile_bfd_open): Ditto. * gdbtk/generic/gdbtk.c: Ditto.
2001-04-052001-04-04 Martin M. Hunt <hunt@redhat.com>Martin Hunt2-5/+8
* main.c (captured_main): For GDBtk, don't use tui_fileopen(). Handle all stream setup in gdbtk_init
2001-04-04* i386-tdep.c (i386_extract_return_value): Don't return the returnMark Kettenis2-3/+14
value of a void function. (i386_store_return_value): Likewise.
2001-04-04 * config/tc-cris.c (cris_insn_first_word_frag): New.Hans-Peter Nilsson2-18/+39
(md_assemble): Call cris_insn_first_word_frag to get the first frag in an insn, not frag_more. Don't call dwarf2_emit_insn at end. Drop variable insn_size. (gen_bdap): Call cris_insn_first_word_frag, not frag_more. (cris_sym_leading_underscore): Wrap first as_bad parameter in _(). (cris_sym_no_leading_underscore, s_cris_file, s_cris_loc): Ditto.
2001-04-04 * config/tc-cris.c (md_estimate_size_before_relax) <caseHans-Peter Nilsson2-28/+21
ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_UNDF)>: Don't emit 32-bit branch, just set fragP->fr_subtype. Set fragP->fr_var. <all cases>: Always set fragP->fr_var using md_cris_relax_table. Add cases to cover all relax states.