Thiemo Seufer
233b8738b0
* config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL.
2001-09-12 21:19:37 +00:00
Jim Blandy
e94a679a11
Remove incomplete section on overlays, committed by accident.
2001-09-12 19:49:52 +00:00
Charles Wilson
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
Catherine Moore
cedacdc05a
* scripttempl/v850.sc: Add gcc_except_table sections.
2001-09-12 14:09:18 +00:00
Jim Blandy
664cccaec5
* printcmd.c (print_scalar_formatted): Fix indentation.
2001-09-12 04:18:08 +00:00
gdbadmin
58712d0505
*** empty log message ***
2001-09-12 00:00:03 +00:00
Richard Henderson
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
Richard Henderson
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
Richard Henderson
f94952df27
* elf64-alpha.c (elf64_alpha_relocate_section): Do not
...
apply HINT relocations against dynamic symbols.
2001-09-11 18:21:11 +00:00
H.J. Lu
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
Jakub Jelinek
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
H.J. Lu
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
gdbadmin
63da102c1d
*** empty log message ***
2001-09-11 00:00:04 +00:00
Jim Blandy
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
Jason Molenda
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
H.J. Lu
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
gdbadmin
f541826b7f
*** empty log message ***
2001-09-10 00:00:02 +00:00
Richard Henderson
96e2734bcd
* elf64-alpha.c: Delete all unused ERIC_neverdef and rth_notdef code.
2001-09-09 20:50:00 +00:00
Richard Henderson
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
Alan Modra
79bcdb567f
Oops, one "likewise" had an intervening entry.
2001-09-09 14:08:41 +00:00
Alan Modra
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
Richard Henderson
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
gdbadmin
5ac3ea5891
*** empty log message ***
2001-09-09 00:00:03 +00:00
Mark Kettenis
964840f795
Fix truncated 2001-08-23 entry.
2001-09-08 23:34:53 +00:00
Mark Kettenis
a9dc4918b3
* gdbint.texinfo (Host Definition): Remove description of
...
MEM_FNS_DECLARED.
2001-09-08 10:53:45 +00:00
Mark Kettenis
df5fdb3df4
* config/xm-aix4.h (MEM_FNS_DECLARED): Removed.
2001-09-08 10:50:07 +00:00
Mark Kettenis
d28379df76
* gdbint.texinfo (Host Definition): Remove description of R_OK.
2001-09-08 10:43:27 +00:00
Mark Kettenis
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
Mark Kettenis
f277788bc6
* gdbint.texinfo (Host Definition): Remove description of
...
HAVE_SIGSETMASK.
2001-09-08 10:28:20 +00:00
Mark Kettenis
7fc73f389d
* gdbtypes.h (struct block): Add forward declaration.
2001-09-08 10:16:57 +00:00
Alan Modra
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
Eric Christopher
a529d7582c
mischeckin. fixed.
2001-09-08 04:16:12 +00:00
Eric Christopher
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
Richard Henderson
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
gdbadmin
6f270dab3e
*** empty log message ***
2001-09-08 00:00:02 +00:00
Jakub Jelinek
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
Andrew Cagney
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
Jim Blandy
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
Jeff Law
38be0bb1e6
* emulparams/h8300helf.sh: Move stack to a much higher memory address.
...
* emulparams/h8300self.sh: Similarly.
2001-09-07 17:35:04 +00:00
Mark Kettenis
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
Thiemo Seufer
ad58c9210c
Fix wrong ChangeLog entries
2001-09-07 06:09:45 +00:00
Thiemo Seufer
553178e47b
Reallow unrestricted use of .set mipsX pseudo-op in gas.
...
Update testcases accordingly.
2001-09-07 05:54:12 +00:00
Thiemo Seufer
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
gdbadmin
c0a1a2e89b
*** empty log message ***
2001-09-07 00:00:02 +00:00
Thiemo Seufer
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
Keith Seitz
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
Kevin Buettner
9a058a09a9
Don't use error result from find_stab_function_addr().
2001-09-06 20:50:48 +00:00
Thiemo Seufer
8050ee1ada
* gas/mips/tmips16-f.d: New file, testcase for big endian MIPS16
...
relocations, tradtional variant.
2001-09-06 20:02:20 +00:00
Tom Rix
1fdf02497c
Fix import symbols for AIX.
2001-09-06 15:20:01 +00:00
Elena Zannoni
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