Mark Kettenis [Fri, 2 Jan 2004 13:01:24 +0000 (13:01 +0000)]
Roll ChangeLog / ChangeLog-2003.
Mark Kettenis [Fri, 2 Jan 2004 12:40:09 +0000 (12:40 +0000)]
* configure.in: Check for <machine/reg.h>. Check for `struct reg'
in <machine/reg.h>.
* configure, config.in: Regenerate.
Alan Modra [Fri, 2 Jan 2004 11:16:21 +0000 (11:16 +0000)]
Split ChangeLog files.
Alan Modra [Fri, 2 Jan 2004 08:27:08 +0000 (08:27 +0000)]
* ld-selective/sel-dump.exp: Use is_elf_format, xfail assorted targets.
* ld-selective/selective.exp: Likewise.
Michael Chastain [Fri, 2 Jan 2004 06:38:01 +0000 (06:38 +0000)]
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/namespace.exp: Accept gcc abi 2.
Michael Chastain [Fri, 2 Jan 2004 06:17:19 +0000 (06:17 +0000)]
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/method.exp: Accept gcc abi 2.
Michael Chastain [Fri, 2 Jan 2004 04:46:45 +0000 (04:46 +0000)]
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Generate identical results as old version.
* gdb.cp/derivation.exp: Likewise.
* gdb.cp/overload.exp: Likewise.
* gdb.cp/virtfunc.exp: Likewise.
gdbadmin [Fri, 2 Jan 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Michael Chastain [Thu, 1 Jan 2004 23:05:12 +0000 (23:05 +0000)]
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/virtfunc.exp: Modify some patterns to avoid a
mysterious bug with sourceware version of expect.
Alan Modra [Thu, 1 Jan 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 1 Jan 2004 10:01:45 +0000 (10:01 +0000)]
* elflink.h (elf_gc_sections): Warn when gc-sections option is ignored.
* elf32-h8300.c (elf32_h8_gc_mark_hook): New function.
(elf32_h8_gc_sweep_hook): New function.
(elf_backend_gc_mark_hook): Define.
(elf_backend_gc_sweep_hook): Define.
(elf_backend_can_gc_sections): Define.
Michael Chastain [Thu, 1 Jan 2004 09:46:21 +0000 (09:46 +0000)]
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/overload.exp: Rewrite. Clean up patterns to match
current versions of gcc, including gcc abi 2. Remove gratuitous
restart of test program. Use gdb_test_multiple and gdb_test for
all tests. Add patterns to xfail missing "const" in "const char *"
and kfail PR gdb/1155.
Michael Chastain [Thu, 1 Jan 2004 06:58:44 +0000 (06:58 +0000)]
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
current versions of gcc, including gcc abi 2. Remove gratuitous
restart of test program. Use gdb_test_multiple and gdb_test for
all tests. Add patterns to kfail PR gdb/1498.
Michael Chastain [Thu, 1 Jan 2004 02:30:59 +0000 (02:30 +0000)]
2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
current versions of gcc, including gcc abi 2. Use "breakpoint"
and "continue" instead of restarting the target program. Use
gdb_test_multiple and gdb_test for all tests.
Mark Kettenis [Thu, 1 Jan 2004 01:13:42 +0000 (01:13 +0000)]
* gdb.asm/asm-source.exp: Update copyright year. Link statically
for *-*-solaris2*.
DJ Delorie [Thu, 1 Jan 2004 00:07:51 +0000 (00:07 +0000)]
* configure.in (ia64*-*-hpux*): Disable building java libraries.
* configure: Regenerated.
gdbadmin [Thu, 1 Jan 2004 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 31 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Michael Chastain [Wed, 31 Dec 2003 20:59:11 +0000 (20:59 +0000)]
2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Rewrite. Clean up patterns to match
current versions of gcc, including gcc abi 2. Use "breakpoint"
and "continue" instead of restarting the target program several
times. Use gdb_test_multiple and gdb_test for all tests.
Daniel Jacobowitz [Wed, 31 Dec 2003 14:24:55 +0000 (14:24 +0000)]
* MAINTAINERS: Rename CONFIGURE to BUILD SYSTEM and add myself.
gdbadmin [Wed, 31 Dec 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 30 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Mitchell [Tue, 30 Dec 2003 16:53:31 +0000 (16:53 +0000)]
* ld-srec/srec.exp (run_srec_test): Remove -fgnu-linker, since GCC
3.4 does not support it.
Eli Zaretskii [Tue, 30 Dec 2003 10:33:37 +0000 (10:33 +0000)]
* configure.in: Check for st_blocks member in struct stat and
define HAVE_STRUCT_STAT_ST_BLOCKS accordingly.
* acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): New undef.
* configure, config.in: Regenerated.
Eli Zaretskii [Tue, 30 Dec 2003 07:25:18 +0000 (07:25 +0000)]
* readline.c (rl_save_state, rl_restore_state): Support systems
that don't define SIGWINCH.
* terminal.c (_rl_get_screen_size) [__DJGPP__]: Compute the
screen width and height using console I/O.
(_rl_init_terminal_io) [__MSDOS__]: Zero out all the _rl_term_*
variables. Convert to _rl_* naming scheme.
(_rl_set_cursor) [__MSDOS__]: Ifdef away this function.
* display.c (_rl_move_vert) [__MSDOS__]: Don't use undeclared
variable `l'. Use `delta' instead recomputing its value anew.
Assign -delta to i instead of the other way around.
Eli Zaretskii [Tue, 30 Dec 2003 07:10:50 +0000 (07:10 +0000)]
Remove entry for reverted change to configure.in.
Eli Zaretskii [Tue, 30 Dec 2003 07:05:21 +0000 (07:05 +0000)]
Temporary fix for last change.
Eli Zaretskii [Tue, 30 Dec 2003 06:52:09 +0000 (06:52 +0000)]
* remote-fileio.c (remote_fileio_to_fio_stat)
(remote_fileio_func_fstat) [HAVE_STRUCT_STAT_ST_BLOCKS]: Support
systems that don't have `st_blocks' member in `struct stat'.
* configure.in (HAVE_STRUCT_STAT_ST_BLOCKS): Ditto.
gdbadmin [Tue, 30 Dec 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 29 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Mitchell [Mon, 29 Dec 2003 19:52:57 +0000 (19:52 +0000)]
* armos.c (fcntl.h): Do not include it.
(O_RDONLY): Do not define.
(O_WRONLY): Likewise.
(O_RDWR): Likewise.
(targ-vals.h): Include it.
(translate_open_mode): Use TARGET_O_* instead of O_*.
(SWIopen): Likewise.
* Makefile.in (armos.o): Depend on targ-vals.h.
Paul Brook [Mon, 29 Dec 2003 16:43:37 +0000 (16:43 +0000)]
* gas/config/tc-arm.c (arm_cpus): Add 926ejs and 1026ejs.
* gas/doc/c-arm.texi: Document them.
Nick Clifton [Mon, 29 Dec 2003 14:22:07 +0000 (14:22 +0000)]
Update pointer_size patch
Eli Zaretskii [Mon, 29 Dec 2003 07:42:43 +0000 (07:42 +0000)]
* go32-nat.c (go32_sldt, go32_sgdt, go32_sidt, go32_pte): Fix
mismatches between format string and arguments (avoids compiler
warnings).
Eli Zaretskii [Mon, 29 Dec 2003 07:35:35 +0000 (07:35 +0000)]
* configure.in: Set ac_cv_search_tgetent to "none required" for
"*djgpp*" targets as well (DJGPP doesn't have termcap and doesn't
need one).
* config/djgpp/config.sed: Tweak to adapt to the changes in
configury.
* config/djgpp/djconfig.sh: Fix the test of unpacked
distribution, since there's no gdb.cxx directory anymore.
gdbadmin [Mon, 29 Dec 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 28 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Sun, 28 Dec 2003 19:48:15 +0000 (19:48 +0000)]
* i386-sol2-tdep.c (i386_sol2_mcontext_addr): New function.
(i386_sol2_init_abi): Initialize TDEP->sigcontext_addr,
TDEP->sc_reg_offset and TDEP->sc_num_regs.
Mark Kettenis [Sun, 28 Dec 2003 19:45:35 +0000 (19:45 +0000)]
* i386-tdep.h (i386_regnum): Add I386_CS_REGNUM and
I386_SS_REGNUM.
gdbadmin [Sun, 28 Dec 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Sat, 27 Dec 2003 23:15:00 +0000 (23:15 +0000)]
* dwarf2-frame.c (dwarf2_reg_rule): Add REG_RA and REG_CFA.
(dwarf2_frame_cache): Initialize PC_REGNUM with REG_RA and
SP_REGNUM with REG_CFA. Don't overwrite the initialized register
rule for registers left unspecified by the CFI. Remove the
special handling of PC_REGNUM. Add code to eleminate any REG_RA
rules.
(dwarf2_frame_prev_register): Remove the special handling of
SP_REGNUM. Add support for the REG_CFA rule.
Alan Modra [Sat, 27 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update
gdbadmin [Sat, 27 Dec 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 26 Dec 2003 23:00:07 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Fri, 26 Dec 2003 18:07:00 +0000 (18:07 +0000)]
* i386obsd-tdep.c: Include "regset.h", "gdb_assert.h" and
"gdb_string.h".
(i386obsd_r_reg_offset): New variable.
(i386obsd_aout_supply_regset)
(i386obsd_aout_regset_from_core_section): New functions.
(i386obsd_supply_reg, fetch_core_registers): Remove functions.
(i286obsd_core_fns): Remove variable.
(i386obsd_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and TDEP->sizeof_gregset. Set
regset_from_core_section. Use ARRAY_SIZE to initialize
TDEP->sc_num_regs.
(_initialize_i386obsd_tdep): Don't call add_core_fns.
Mark Kettenis [Fri, 26 Dec 2003 17:59:48 +0000 (17:59 +0000)]
* i386bsd-tdep.c (i386bsd_core_osabi_sniffer): New function.
(_initialize_i386bsd_tdep): Register i386bsd_core_osabi_sniffer.
DJ Delorie [Fri, 26 Dec 2003 16:27:37 +0000 (16:27 +0000)]
merge from gcc
Mark Kettenis [Fri, 26 Dec 2003 15:42:58 +0000 (15:42 +0000)]
* i386-linux-nat.c: Add comment.
Christopher Faylor [Fri, 26 Dec 2003 14:56:45 +0000 (14:56 +0000)]
* win32-nat.c: Add some comments about below change.
Christopher Faylor [Fri, 26 Dec 2003 04:29:22 +0000 (04:29 +0000)]
Fix for PR threads/1048
* win32-nat.c (thread_info_struct): Add reload_context flag.
(thread_rec): Don't reload thread context here. Just set a flag.
(do_child_fetch_inferior_registers): Reload thread context here if appropriate.
Avoid doing anything if current_thread is NULL thanks to strange Windows
behavior.
(child_fetch_inferior_registers): Avoid doing anything if current_thread is
NULL.
(do_child_store_inferior_registers): Ditto.
(child_store_inferior_registers): Ditto.
(child_kill_inferior): Ditto.
(fake_create_process): Pretend to create a process for pathological windows
attach situation.
(get_child_debug_event): Call fake_create_process when the first event noticed
is thread creation rather than process creation.
(child_attach): Always set attach_flag when attaching.
(child_create_inferior): Set attach_flag to zero since we're not attaching.
Christopher Faylor [Fri, 26 Dec 2003 00:39:04 +0000 (00:39 +0000)]
* win32-nat.c (get_child_debug_event): Keep main thread id around even after
thread exits since Windows insists on continuing to report events against it.
gdbadmin [Fri, 26 Dec 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 25 Dec 2003 23:00:06 +0000 (23:00 +0000)]
daily update
gdbadmin [Thu, 25 Dec 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 24 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update
gdbadmin [Wed, 24 Dec 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 23 Dec 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Paul Brook [Tue, 23 Dec 2003 18:48:02 +0000 (18:48 +0000)]
* doc/c-arm.texi: Document -march=armv6.
Paul Brook [Tue, 23 Dec 2003 18:41:58 +0000 (18:41 +0000)]
* config/tc-arm.c (arm_archs): Add armv6.
Maciej W. Rozycki [Tue, 23 Dec 2003 13:01:11 +0000 (13:01 +0000)]
* objcopy.c (bfd_flags_to_set, bfd_flags_to_clear): New variables
to handle flags for tweaking.
(copy_options): New options: impure, pure, readonly-text,
writable-text.
(copy_usage, copy_object, command_line_switch): Handle the new
options.
* doc/binutils.texi: Document the new options.
gdbadmin [Tue, 23 Dec 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 22 Dec 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Mon, 22 Dec 2003 20:32:51 +0000 (20:32 +0000)]
* dwarf2-frame.c (dwarf2_frame_cache): Don't skip the return
address column.
Daniel Jacobowitz [Mon, 22 Dec 2003 19:22:57 +0000 (19:22 +0000)]
* Makefile.in (lbasename.o): Depend on filenames.h.
* lbasename.c: Include "filenames.h" instead of defining
its macros locally.
DJ Delorie [Mon, 22 Dec 2003 16:03:32 +0000 (16:03 +0000)]
merge from gcc
Jakub Jelinek [Mon, 22 Dec 2003 10:49:59 +0000 (10:49 +0000)]
* objdump.c (disassemble_bytes): Subtract rel_offset from printed
reloc address.
(disassemble_section): Set rel_offset to section->vma instead of
pinfo->buffer_vma.
Nick Clifton [Mon, 22 Dec 2003 09:01:48 +0000 (09:01 +0000)]
Fix tests to eliminated unexpected failures
Nick Clifton [Mon, 22 Dec 2003 08:43:41 +0000 (08:43 +0000)]
For v6 tests use -march=armv6j
Jim Blandy [Mon, 22 Dec 2003 03:43:19 +0000 (03:43 +0000)]
* breakpoint.c (bpstat_do_actions): To ensure that
clear_proceed_status doesn't free the command tree we're
evaluating out from under us, zero the bpstat's pointer to it, and
take care of freeing it ourselves.
* cli/cli-script.c (make_cleanup_free_command_lines): Make this
function externally visible.
* cli/cli-script.h (make_cleanup_free_command_lines): New
declaration.
DJ Delorie [Mon, 22 Dec 2003 00:59:55 +0000 (00:59 +0000)]
* configure.in (*-*-uclinux): Exclude newlib, libgloss and rda.
* configure: Regenerated.
gdbadmin [Mon, 22 Dec 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 21 Dec 2003 23:00:04 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 21 Dec 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 20 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Sat, 20 Dec 2003 16:06:10 +0000 (16:06 +0000)]
merge from gcc
Mark Kettenis [Sat, 20 Dec 2003 13:36:00 +0000 (13:36 +0000)]
* x86-64-tdep.c (x86_64_dwarf_regmap): Map the Return Address to
RIP.
Nick Clifton [Sat, 20 Dec 2003 08:01:47 +0000 (08:01 +0000)]
(md_apply_fix3): Handle the case where a .byte directive generates a
pc-relative relocation.
gdbadmin [Sat, 20 Dec 2003 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 19 Dec 2003 23:00:35 +0000 (23:00 +0000)]
daily update
DJ Delorie [Fri, 19 Dec 2003 22:03:41 +0000 (22:03 +0000)]
merge from gcc
DJ Delorie [Fri, 19 Dec 2003 16:50:48 +0000 (16:50 +0000)]
merge from gcc
Nick Clifton [Fri, 19 Dec 2003 15:23:41 +0000 (15:23 +0000)]
Fix calls to as_perror() so that the errno system message will be printed.
Fix as_perror() so that errno is not corrupted.
Nathanael Nerode [Fri, 19 Dec 2003 15:13:56 +0000 (15:13 +0000)]
2003-12-19 Nathanael Nerode <neroden@gcc.gnu.org>
Port change over from GCC:
2003-11-20 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.tpl (BASE_FLAGS_TO_PASS): Pass along CONFIG_SHELL.
(configure-build-[+module+], configure-[+module+]): Likewise.
(configure-target-[+module+], configure-gcc, config.status): Likewise.
* Makefile.in: Regenerate.
Nick Clifton [Fri, 19 Dec 2003 11:59:20 +0000 (11:59 +0000)]
oops - omitted from the previous checkin.
Nick Clifton [Fri, 19 Dec 2003 11:44:01 +0000 (11:44 +0000)]
Add support for m32r-linux target, including a RELA ABI and PIC.
Nick Clifton [Fri, 19 Dec 2003 10:01:59 +0000 (10:01 +0000)]
Do not mark .reloc sections as containing debug info.
Michael Chastain [Fri, 19 Dec 2003 06:45:03 +0000 (06:45 +0000)]
2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
* hppa-tdep.c (hppa_gdbarch_init): Set long double floating
point type to floatformat_ia64_quad_big.
DJ Delorie [Fri, 19 Dec 2003 04:04:44 +0000 (04:04 +0000)]
merge from gcc
Kevin Buettner [Fri, 19 Dec 2003 00:34:26 +0000 (00:34 +0000)]
* frv-tdep.c (skip_prologue_using_sal): New function. Taken verbatim
from mips-tdep.c.
(frv_analyze_prologue): Rework to account for intermixed prologue /
body instructions.
gdbadmin [Fri, 19 Dec 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 18 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Michael Chastain [Thu, 18 Dec 2003 22:13:48 +0000 (22:13 +0000)]
2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
* hppa-tdep.c (hppa_gdbarch_init): Set sizeof(long_double) to 128.
Document type sizes for hppa*-*-hpux* compilers available to me.
Michael Chastain [Thu, 18 Dec 2003 18:22:35 +0000 (18:22 +0000)]
2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
* hppam3-nat.c: Delete obsolete file.
* hppab-nat.c: Delete obsolete file.
* Makefile.in: Remove references.
Nick Clifton [Thu, 18 Dec 2003 18:03:08 +0000 (18:03 +0000)]
(input_file_open): Remove call to stat(). Add a check for getc() failing, and
catch the case where the failure is due to an attempt to read a directory.
Michael Chastain [Thu, 18 Dec 2003 16:25:21 +0000 (16:25 +0000)]
2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/sect-cmd.exp: Handle compiling test case from multiple
source files.
Nick Clifton [Thu, 18 Dec 2003 14:56:44 +0000 (14:56 +0000)]
When scanning MS import libraries allow for the possible presence of static
objects.
Richard Sandiford [Thu, 18 Dec 2003 10:25:12 +0000 (10:25 +0000)]
* ld-mips-elf/reloc-1[ab].s: New source files.
* ld-mips-elf/reloc-1-{n32,n64,rel}.d: New tests.
* ld-mips-elf/reloc-2[ab].s: New source files.
* ld-mips-elf/reloc-2.{d,ld}: New test.
* ld-mips-elf/reloc-3[ab].s: New source files.
* ld-mips-elf/reloc-3-{r,srec}.d: New tests.
* ld-mips-elf/mips-elf.exp: Run them.
Richard Sandiford [Thu, 18 Dec 2003 10:23:10 +0000 (10:23 +0000)]
bfd/
* elf32-mips.c (elf_mips_howto_table_rel): Replace all uses of
mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use
_bfd_mips_elf_hi16_reloc for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16,
_bfd_mips_elf_lo16_reloc for R_MIPS_LO16 and R_MIPS_GNU_REL_LO16,
and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16. Change rightshift
to 16 for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16.
(mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc)
(mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete.
(_bfd_mips_elf32_gprel16_reloc): Remove special case.
(mips_elf_gprel32_reloc, mips32_64bit_reloc): Likewise.
* elf64-mips.c (mips_elf64_howto_table_rel): Replace all uses of
mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use
_bfd_mips_elf_hi16_reloc for R_MIPS_HI16, _bfd_mips_elf_lo16_reloc
for R_MIPS_LO16 and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16.
Change R_MIPS_HI16's rightshift to 16.
(mips_elf64_howto_table_rela): Replace all uses of
mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc.
Use _bfd_mips_elf_generic_reloc for R_MIPS_GOT16 as well.
(mips_elf64_hi16_reloc, mips_elf64_got16_reloc): Delete.
(mips_elf64_shift6_reloc): Remove special case. Use
_bfd_mips_elf_generic_reloc instead of returning bfd_reloc_continue.
* elfn32-mips.c (prev_reloc_section): Delete.
(prev_reloc_address, prev_reloc_addend): Delete.
(elf_mips_howto_table_rel, elf_mips_howto_table_rela): As for
elf64-mips.c
(GET_RELOC_ADDEND, SET_RELOC_ADDEND): Delete.
(mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc)
(mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete.
(mips_elf_gprel16_reloc): Delete use of GET_RELOC_ADDEND.
(mips_elf_literal_reloc, mips_elf_gprel32_reloc): Likewise.
(mips16_jump_reloc, mips16_gprel_reloc): Likewise.
(mips_elf_shift6_reloc): Likewise. Delete use of SET_RELOC_ADDEND.
* elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Use
_bfd_relocate_contents to install an in-place addend.
(mips_hi16): New structure.
(mips_hi16_list): Moved from elf32-mips.c.
(_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_got16_reloc): New functions.
(_bfd_mips_elf_lo16_reloc, _bfd_mips_elf_generic_reloc): New functions.
(mips_elf_calculate_relocation): Assume addend is unshifted.
(_bfd_mips_elf_relocate_section): Don't apply the howto rightshift
on top of the usual high-part shift. Don't shift the addend right
before calling mips_elf_calculate_relocation.
* elfxx-mips.h (_bfd_mips_elf_hi16_reloc): Declare.
(_bfd_mips_elf_got16_reloc, _bfd_mips_elf_lo16_reloc): Declare.
(_bfd_mips_elf_generic_reloc): Declare.
gas/
* config/tc-mips.c (mips_need_elf_addend_fixup): Delete.
(md_apply_fix3): Remove bfd_install_relocation workarounds.
(tc_gen_reloc): Likewise. Factor handling of pc-relative relocations
and treat fx_addnumber as relative to the relocation address.
gas/testsuite/
* gas/mips/mips16-jalx.d: Use -mabi=o64.
* gas/mips/mips16.d: Likewise.
* gas/mips/elf-rel17.[sd]: New test.
* gas/mips/mips.exp: Run it.
Richard Sandiford [Thu, 18 Dec 2003 10:18:17 +0000 (10:18 +0000)]
* config/tc-mips.c (s_change_section): When parsing the MIPS-specific
.section syntax, map SHT_MIPS_DWARF to SHT_PROGBITS.
Michael Chastain [Thu, 18 Dec 2003 07:48:37 +0000 (07:48 +0000)]
2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/environ.exp: Handle compiling test case from multiple
source files.
This page took 0.038987 seconds and 4 git commands to generate.