aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-09-12* elf.c (prep_headers): Get the machine code from the elfAlexandre Oliva11-120/+56
backend data. * elf-m10200.c (ELF_MACHINE_CODE): Redefine to EM_MN10200. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10200. * elf-m10300.c (ELF_MACHINE_CODE): Redefine to EM_MN10300. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10300. * elf-arc.c (arc_elf_final_write_processing): Don't override e_machine, it's now properly set in prep_headers. * elf32-avr.c (elf32_avr_object_p): Accept both EM_AVR and EM_AVR_OLD. (ELF_MACHINE_ALT1): Define to EM_AVR_OLD. * elf-d10v.c (ELF_MACHINE_CODE): Redefine to EM_D10V. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_D10V. * elf-d30v.c (ELF_MACHINE_CODE): Redefine to EM_D30V. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_D30V. * elf-fr30.c (ELF_MACHINE_CODE): Redefine to EM_FR30. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_FR30. * elf-m32r.c (ELF_MACHINE_CODE): Redefine to EM_M32R. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_M32R. * elf32-pj.c (ELF_MACHINE_ALT1): DEfine to EM_PJ_OLD. * elf-v850.c (ELF_MACHINE_CODE): Redefine to EM_V850. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_V850.
2001-09-12* common.h (EM_AVR_OLD): Renamed from...Alexandre Oliva2-5/+25
(EM_AVR): this, redefined as in the current ELF standard. (EM_PJ_OLD): Renamed from... (EM_PJ): this, redefined as in the current ELF standard. (EM_R30, EM_D10V, EM_D30V, EM_V850, EM_M32R, EM_MN10300, EM_MN10200, EM_OPENRISC, EM_ARC_A5, EM_XTENSA): Defined as in the current ELF standard. (EM_CYGNUS_ARC): Removed, unused for a long time.
2001-09-12 * config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL.Thiemo Seufer2-1/+5
2001-09-12Remove incomplete section on overlays, committed by accident.Jim Blandy1-79/+0
2001-09-122001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>Charles Wilson5-14/+143
* emultempl/pe.em(make_import_fixup): change signature to take asection as well as arelec; we need this for proper error reporting. Only call pe_create_import_fixup() if there is no attempt to add a constant addend to the reloc; otherwise, report error condition. * pe-dll.c(pe_walk_relocs_of_symbol): change signature, since final argument is a pointer to make_import_fixup(). Change call to cb() to match make_import_fixup() signature. (make_import_fixup_mark): make buffer_len unsigned. * pe-dll.h: change signature of pe_walk_relocs_of_symbol. 2001-09-12 Charles Wilson <cwilson@ece.gatech.edu> * ld.texinfo: add verbose documentation for auto-import direct-addressing workaround, to compliment the terse error message.
2001-09-12 * scripttempl/v850.sc: Add gcc_except_table sections.Catherine Moore2-0/+8
2001-09-12* printcmd.c (print_scalar_formatted): Fix indentation.Jim Blandy1-2/+2
2001-09-12*** empty log message ***gdbadmin1-1/+1
2001-09-11 * elf64-alpha.c (elf64_alpha_section_flags): New.Richard Henderson2-1/+24
(elf64_alpha_fake_sections): Map SEC_SMALL_DATA to SHF_ALPHA_GPREL.
2001-09-11 * config/tc-alpha.c (alpha_elf_section_letter): New.Richard Henderson5-0/+58
(alpha_elf_section_flags): New. * config/tc-alpha.h (md_elf_section_letter): New. (md_elf_section_flags): New. * config/tc-ia64.c (ia64_elf_section_letter): New. * config/tc-ia64.h (md_elf_section_letter): New.
2001-09-11 * elf64-alpha.c (elf64_alpha_relocate_section): Do notRichard Henderson2-3/+16
apply HINT relocations against dynamic symbols.
2001-09-112001-09-11 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+6
* inker.c (link_action): Change COMMON_ROW\defw from CREF to COM.
2001-09-11 * config/obj-elf.c (obj_elf_parse_section_letters): Use 'M' insteadJakub Jelinek4-5/+12
of 'm', 'S' instead of 's'. Update bad_msg. * config/tc-ppc.c (ppc_section_letter): Update bad_msg. * config/tc-i370.c (i370_sectioN_letter): Update bad_msg.
2001-09-112001-09-11 H.J. Lu <hjl@gnu.org>H.J. Lu17-15/+186
* ld-elfweak/elfweak.exp (build_lib): Take a list of object files. (build_exec): Likewise. Add more tests and make some xfail. * ld-elfweak/dso.dsym: Support symbol versioning. * ld-elfweak/dsow.dsym: Likewise. * ld-elfweak/main1.c: New. * ld-elfweak/bar1a.c: Likewise. * ld-elfweak/bar1b.c: Likewise. * ld-elfweak/bar1c.c: Likewise. * ld-elfweak/foo1a.c: Likewise. * ld-elfweak/foo1b.c: Likewise. * ld-elfweak/dsodata.dsym: Likewise. * ld-elfweak/dsowdata.dsym: Likewise. * ld-elfweak/weakdata.dsym: Likewise. * ld-elfweak/strongcomm.sym: Likewise. * ld-elfweak/strongdata.sym: Likewise. * ld-elfweak/weakdata.dat: Likewise. * ld-elfweak/strongdata.dat: Likewise.
2001-09-11*** empty log message ***gdbadmin1-1/+1
2001-09-10* rom68k-rom.c (init_rom68k_cmds): Set the flag indicating thatJim Blandy2-1/+6
programs running on the board can produce output.
2001-09-102001-09-10 Jason Molenda (jmolenda@apple.com)Jason Molenda3-3/+8
* NEWS: "ANS/ISO C" -> "ISO C". * MAINTAINERS (write-after-approval): Update my entry.
2001-09-102001-09-10 H.J. Lu <hjl@gnu.org>H.J. Lu11-0/+447
* ld-elfweak/elfweak.exp: New. * ld-elfweak/bar.c: Likewise. * ld-elfweak/foo.c: Likewise. * ld-elfweak/main.c: Likewise. * ld-elfweak/dso.dsym: Likewise. * ld-elfweak/dsow.dsym: Likewise. * ld-elfweak/strong.sym: Likewise. * ld-elfweak/strong.dat: Likewise. * ld-elfweak/weak.dat: Likewise.
2001-09-10*** empty log message ***gdbadmin1-1/+1
2001-09-09 * elf64-alpha.c: Delete all unused ERIC_neverdef and rth_notdef code.Richard Henderson2-438/+7
2001-09-09 * elf64-alpha.c (elf64_alpha_relax_with_lituse): Nop out gpdispRichard Henderson2-8/+35
following a call to a near function.
2001-09-09Oops, one "likewise" had an intervening entry.Alan Modra1-7/+7
2001-09-09 * expr.c (expr): Move code setting "retval" to the end of the loop,Alan Modra7-76/+174
and rearrange for efficiency. For "PIC code" subtraction, use "rightseg" rather than recalculating. For "symbol OP symbol" subtract, set "retval" to absolute_section if symbols in same section. * symbols.c (resolve_symbol_value): Resolve "sym +/- expr" to an O_symbol. Simplify a +/- b code. Allow equality and non-equality comparisons on symbols from any section. Allow other comparison operators as for subtraction. (symbol_equated_reloc_p): New predicate function. * symbols.h (symbol_equated_reloc_p): Declare. * write.c (adjust_reloc_syms): Use symbol_equated_reloc_p. (write_relocs): Likewise. (write_object_file): Likewise. (relax_segment <rs_machine_dependent>): Ensure segment for expression syms is set correctly. * config/tc-mips.c (md_estimate_size_before_relax): Likewise. * config/tc-i386.c (md_assemble <Output jumps>): Don't lose part of a complex expression when setting up frag_var.
2001-09-09 * elf64-alpha.c (elf64_alpha_relocate_section): Soft failRichard Henderson2-3/+24
relocation errors. Fail gp-relative relocations against dynamic symbols.
2001-09-09*** empty log message ***gdbadmin1-1/+1
2001-09-08Fix truncated 2001-08-23 entry.Mark Kettenis1-1/+1
2001-09-08* gdbint.texinfo (Host Definition): Remove description ofMark Kettenis2-5/+3
MEM_FNS_DECLARED.
2001-09-08* config/xm-aix4.h (MEM_FNS_DECLARED): Removed.Mark Kettenis2-5/+2
2001-09-08* gdbint.texinfo (Host Definition): Remove description of R_OK.Mark Kettenis2-3/+2
2001-09-08* config/arm/xm-linux.h, config/ia64/xm-linux.h,Mark Kettenis7-18/+5
config/m68k/xm-linux.h, config/mips/xm-linux.h, config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove redundant inclusion of <unistd.h>.
2001-09-08* gdbint.texinfo (Host Definition): Remove description ofMark Kettenis2-5/+5
HAVE_SIGSETMASK.
2001-09-08* gdbtypes.h (struct block): Add forward declaration.Mark Kettenis2-0/+7
2001-09-08 * elf32-i386.c (elf_i386_relocate_section): Check !DEF_REGULARAlan Modra3-6813/+6833
as well as DEF_DYNAMIC in test for avoided copy relocs. (allocate_plt_and_got_and_discard_relocs): Likewise. * elf32-i386.c (elf_i386_relocate_section): Likewise. (allocate_plt_and_got_and_discard_relocs): Likewise.
2001-09-08mischeckin. fixed.Eric Christopher3-4/+4
2001-09-082001-09-07 Eric Christopher <echristo@redhat.com>Eric Christopher3-4/+9
* gas/mips/mips64.d: Change to use mipsisa64. * gas/mips/mips32.d: Change to use mipsisa32.
2001-09-08 * config/tc-alpha.c (alpha_reloc_op_tag): Replace need_seq withRichard Henderson2-27/+37
require_seq and allow_seq. Let !literal omit the sequence number. (tokenize_arguments): Reject sequence numbers of !allow_seq.
2001-09-08*** empty log message ***gdbadmin1-1/+1
2001-09-07 * config/tc-sparc.c (md_apply_fix3): Handle relocs against SEC_MERGEJakub Jelinek2-0/+6
section symbols the same way as externs.
2001-09-07* defs.h (enum return_reason): Renumber so that all values areAndrew Cagney3-40/+134
negative. (RETURN_MASK): Negate reason. (catch_exception_ftype): Declare. (catch_exceptions): Declare. * top.c (catcher): New function, based on catch_errors. Add in parameter func_uiout and out parameters func_val, func_caught and func_cleanup. Change type of func to catch_exceptions_ftype. Save/restore uiout. (struct catch_errors_args): Define. (do_catch_errors): New function. (catch_errors): Rewrite, use do_catch_errors and catcher. (catch_exceptions): New function, use catcher.
2001-09-07Correctly parse register values provided by the monitor.Jim Blandy3-2/+92
* rom68k-rom.c: #include "value.h". (is_hex_digit, hex_digit_value, is_whitespace, rom68k_supply_one_register): New static functions. (rom68k_supply_register): Call rom68k_supply_one_register, instead of monitor_supply_register; the latter was incorrectly parsing the values. * Makefile.in (rom68k-rom.o): Note that this now #includes value.h.
2001-09-07 * emulparams/h8300helf.sh: Move stack to a much higher memory address.Jeff Law3-2/+7
* emulparams/h8300self.sh: Similarly.
2001-09-07* config/rs6000/xm-rs6000.h (setpgrp): Remove macro. GDB defaultsMark Kettenis2-4/+5
to using setpgid if available now.
2001-09-07 Fix wrong ChangeLog entriesThiemo Seufer1-10/+11
2001-09-07 Reallow unrestricted use of .set mipsX pseudo-op in gas.Thiemo Seufer13-10/+63
Update testcases accordingly.
2001-09-07 * elf32-mips.c (mips_elf_calculate_relocation): Fix overflow handlingThiemo Seufer15-14/+165
of R_MIPS_PC16. * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL. (macro_build): Use BFD_RELOC_16_PCREL_S2 only for embedded PIC, BFD_RELOC_16_PCREL for the rest. (mips_ip): Likewise. (md_pcrel_from): return the right offset for the differently shifted pcrel relocs. (md_apply_fix): Handle BFD_RELOC_16_PCREL. * gas/mips/beq.d: Check branches to external labels. * gas/mips/beq.s: Likewise. * gas/mips/bge.d: Likewise. * gas/mips/bge.s: Likewise. * gas/mips/bgeu.d: Likewise. * gas/mips/bgeu.s: Likewise. * gas/mips/blt.d: Likewise. * gas/mips/blt.s: Likewise. * gas/mips/bltu.d: Likewise. * gas/mips/bltu.s: Likewise. * gas/mips/elempic.d: Switch from R_MIPS_GNU_REL16_S2 to R_MIPS_PC16. * gas/mips/empic.d: Likewise. * gas/mips/empic.s: Likewise. * gas/mips/telempic.d: Likewise. * gas/mips/tempic.d: Likewise.
2001-09-07*** empty log message ***gdbadmin1-1/+1
2001-09-06 * elf64-mips.c (mips_elf64_howto_table_rel): Fix relocation HOWTOThiemo Seufer2-6953/+6908
definitions. (mips_elf64_howto_table_rel): Likewise.
2001-09-06 From Ian Roxborough <irox@redhat.com>Keith Seitz3-424/+407
* configure.in: Use ITCL_LIB_FULL_PATH and ITK_LIB_FULL_PATH to set Itcl and Itk dependancies for gdb. * configure: Regenerated.
2001-09-06Don't use error result from find_stab_function_addr().Kevin Buettner3-6/+47
2001-09-06 * gas/mips/tmips16-f.d: New file, testcase for big endian MIPS16Thiemo Seufer2-0/+39
relocations, tradtional variant.