0d888aac30
2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
...
* 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 15:58:10 +00:00
cedacdc05a
* scripttempl/v850.sc: Add gcc_except_table sections.
2001-09-12 14:09:18 +00:00
664cccaec5
* printcmd.c (print_scalar_formatted): Fix indentation.
2001-09-12 04:18:08 +00:00
58712d0505
*** empty log message ***
2001-09-12 00:00:03 +00:00
204692d7e6
* elf64-alpha.c (elf64_alpha_section_flags): New.
...
(elf64_alpha_fake_sections): Map SEC_SMALL_DATA to SHF_ALPHA_GPREL.
2001-09-11 18:26:27 +00:00
d61a78a7af
* config/tc-alpha.c (alpha_elf_section_letter): New.
...
(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 18:26:04 +00:00
f94952df27
* elf64-alpha.c (elf64_alpha_relocate_section): Do not
...
apply HINT relocations against dynamic symbols.
2001-09-11 18:21:11 +00:00
146f1a875a
2001-09-11 H.J. Lu <hjl@gnu.org>
...
* inker.c (link_action): Change COMMON_ROW\defw from CREF to
COM.
2001-09-11 18:10:20 +00:00
9469ddf0d0
* config/obj-elf.c (obj_elf_parse_section_letters): Use 'M' instead
...
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-11 16:46:38 +00:00
bd7c9df68b
2001-09-11 H.J. Lu <hjl@gnu.org>
...
* 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 14:25:16 +00:00
63da102c1d
*** empty log message ***
2001-09-11 00:00:04 +00:00
a5666cc9b8
* rom68k-rom.c (init_rom68k_cmds): Set the flag indicating that
...
programs running on the board can produce output.
2001-09-10 23:54:16 +00:00
6d6b80e5eb
2001-09-10 Jason Molenda (jmolenda@apple.com)
...
* NEWS: "ANS/ISO C" -> "ISO C".
* MAINTAINERS (write-after-approval): Update my entry.
2001-09-10 18:13:17 +00:00
16a572840c
2001-09-10 H.J. Lu <hjl@gnu.org>
...
* 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 17:11:34 +00:00
f541826b7f
*** empty log message ***
2001-09-10 00:00:02 +00:00
96e2734bcd
* elf64-alpha.c: Delete all unused ERIC_neverdef and rth_notdef code.
2001-09-09 20:50:00 +00:00
1cd6895c55
* elf64-alpha.c (elf64_alpha_relax_with_lituse): Nop out gpdisp
...
following a call to a near function.
2001-09-09 20:42:11 +00:00
79bcdb567f
Oops, one "likewise" had an intervening entry.
2001-09-09 14:08:41 +00:00
e0890092b6
* expr.c (expr): Move code setting "retval" to the end of the loop,
...
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 14:01:17 +00:00
f16fbd61d9
* elf64-alpha.c (elf64_alpha_relocate_section): Soft fail
...
relocation errors. Fail gp-relative relocations against
dynamic symbols.
2001-09-09 06:58:06 +00:00
5ac3ea5891
*** empty log message ***
2001-09-09 00:00:03 +00:00
964840f795
Fix truncated 2001-08-23 entry.
2001-09-08 23:34:53 +00:00
a9dc4918b3
* gdbint.texinfo (Host Definition): Remove description of
...
MEM_FNS_DECLARED.
2001-09-08 10:53:45 +00:00
df5fdb3df4
* config/xm-aix4.h (MEM_FNS_DECLARED): Removed.
2001-09-08 10:50:07 +00:00
d28379df76
* gdbint.texinfo (Host Definition): Remove description of R_OK.
2001-09-08 10:43:27 +00:00
4ad318e604
* config/arm/xm-linux.h, config/ia64/xm-linux.h,
...
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 10:39:54 +00:00
f277788bc6
* gdbint.texinfo (Host Definition): Remove description of
...
HAVE_SIGSETMASK.
2001-09-08 10:28:20 +00:00
7fc73f389d
* gdbtypes.h (struct block): Add forward declaration.
2001-09-08 10:16:57 +00:00
56882138c5
* elf32-i386.c (elf_i386_relocate_section): Check !DEF_REGULAR
...
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-08 05:47:01 +00:00
a529d7582c
mischeckin. fixed.
2001-09-08 04:16:12 +00:00
06e70a4852
2001-09-07 Eric Christopher <echristo@redhat.com>
...
* gas/mips/mips64.d: Change to use mipsisa64.
* gas/mips/mips32.d: Change to use mipsisa32.
2001-09-08 02:34:56 +00:00
ec8fcf4a1d
* config/tc-alpha.c (alpha_reloc_op_tag): Replace need_seq with
...
require_seq and allow_seq. Let !literal omit the sequence number.
(tokenize_arguments): Reject sequence numbers of !allow_seq.
2001-09-08 01:12:00 +00:00
6f270dab3e
*** empty log message ***
2001-09-08 00:00:02 +00:00
891937bff4
* config/tc-sparc.c (md_apply_fix3): Handle relocs against SEC_MERGE
...
section symbols the same way as externs.
2001-09-07 22:41:03 +00:00
f9c696d277
* defs.h (enum return_reason): Renumber so that all values are
...
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-07 21:33:08 +00:00
a2e2dd8055
Correctly parse register values provided by the monitor.
...
* 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 21:27:36 +00:00
38be0bb1e6
* emulparams/h8300helf.sh: Move stack to a much higher memory address.
...
* emulparams/h8300self.sh: Similarly.
2001-09-07 17:35:04 +00:00
93befcf3d7
* config/rs6000/xm-rs6000.h (setpgrp): Remove macro. GDB defaults
...
to using setpgid if available now.
2001-09-07 15:22:11 +00:00
ad58c9210c
Fix wrong ChangeLog entries
2001-09-07 06:09:45 +00:00
553178e47b
Reallow unrestricted use of .set mipsX pseudo-op in gas.
...
Update testcases accordingly.
2001-09-07 05:54:12 +00:00
cb56d3d327
* elf32-mips.c (mips_elf_calculate_relocation): Fix overflow handling
...
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 05:00:37 +00:00
c0a1a2e89b
*** empty log message ***
2001-09-07 00:00:02 +00:00
77bfe34f56
* elf64-mips.c (mips_elf64_howto_table_rel): Fix relocation HOWTO
...
definitions.
(mips_elf64_howto_table_rel): Likewise.
2001-09-06 21:30:15 +00:00
b381d62d0a
From Ian Roxborough <irox@redhat.com>
...
* configure.in: Use ITCL_LIB_FULL_PATH and
ITK_LIB_FULL_PATH to set Itcl and Itk dependancies
for gdb.
* configure: Regenerated.
2001-09-06 20:59:18 +00:00
9a058a09a9
Don't use error result from find_stab_function_addr().
2001-09-06 20:50:48 +00:00
8050ee1ada
* gas/mips/tmips16-f.d: New file, testcase for big endian MIPS16
...
relocations, tradtional variant.
2001-09-06 20:02:20 +00:00
1fdf02497c
Fix import symbols for AIX.
2001-09-06 15:20:01 +00:00
7ccaa899b1
2001-09-04 Elena Zannoni <ezannoni@redhat.com>
...
* gdbint.texinfo (Target Architecture Definition): Add
explanation of TARGET_PRINT_INSN macro.
2001-09-06 12:01:36 +00:00
a209ae8abb
*** empty log message ***
2001-09-06 00:00:03 +00:00
2bf0cb6592
2001-09-05 Elena Zannoni <ezannoni@redhat.com>
...
* gdbarch.sh: Move include of dis-asm.h so it is generated earlier
in gdbarch.h.
(TARGET_PRINT_INSN): Multiarch.
* gdbarch.h: Regenerate.
* gdbarch.c: Regenerate.
* arch-utils.c (legacy_print_insn): New function.
* arch-utils.h (legacy_print_insn): Export.
* cris-tdep.c (cris_delayed_get_disassembler): Use
TARGET_PRINT_INSN, instead of tm_print_insn.
* d10v-tdep.c (print_insn): Ditto.
* d30v-tdep.c (print_insn): Ditto.
* m32r-tdep.c (dump_insn): Ditto.
* v850-tdep.c (v850_scan_prologue): Ditto.
* mcore-tdep.c (mcore_dump_insn): Ditto.
* sh-tdep.c (sh_gdbarch_init): Set print_insn gdbarch field.
2001-09-05 23:44:44 +00:00