Nathan Sidwell [Sat, 7 Oct 2006 20:08:48 +0000 (7 20:08 +0000)]
libgloss/
* m68k/Makefile.in: Adjust Coldfire rules.
(BDM_CRT0, BDM_BSP, BDM_OBJS, BDM_ISRS): Rename to ...
(CF_CRT0, CF_BSP, CF_OBJS, CF_ISRS): ... here. Adjust.
(BDM_OTHER_OBJS): Remove.
(BDM_SYSOBJS): Rename to ...
(UNHOSTED_OBJS): ... here. Adjust.
(UNHOSTED_BSP, HOSTED_OBJS, HOSTED_BSP): New.
(CF_HOSTED_SCRIPTS): New.
(CF_SCRIPTS, CF_SOURCES): Adjust.
* m68k/cf.sc: Add IO library variable.
* m68k/bdm-crt0.S, m68k/bdm-crt1.c, m68k/bdm-isrs.c,
m68k/bdm-sbrk.c, m68k/bdm-semihost.S: Rename to ...
* m68k/cf-crt0.S, m68k/cf-crt1.c, m68k/cf-isrs.c, m68k/cf-sbrk.c,
m68k/cf-hosted.S: ... here.
* m68k/cf-exit.c: New.
* m68k/bdm-gdb.h, m68k/bdm-semihost.h: Merge into ...
* m68k/io.h: ... here. Add unhosted support. Adjust conversion
function names.
* m68k/bdm-gdb.c: Rename to ...
* m68k/io-gdb.c: ... here. Adjust names of conversion functions.
* m68k/bdm-close.c, m68k/bdm-exit.c, m68k/bdm-fstat.c,
m68k/bdm-gettimeofday.c, m68k/bdm-isatty.c, m68k/bdm-lseek.c,
m68k/bdm-open.c, m68k/bdm-read.c, m68k/bdm-rename.c,
m68k/bdm-stat.c, m68k/bdm-system.c, m68k/bdm-time.c,
m68k/bdm-unlink.c, m68k/bdm-write.c: Rename to ...
* m68k/io-close.c, m68k/io-exit.c, m68k/io-fstat.c,
m68k/io-gettimeofday.c, m68k/io-isatty.c, m68k/io-lseek.c,
m68k/io-open.c, m68k/io-read.c, m68k/io-rename.c, m68k/io-stat.c,
m68k/io-system.c, m68k/io-time.c, m68k/io-unlink.c,
m68k/io-write.c: ... here. Include io.h. Adjust for hosted &
unhosted libraries. Adjust names of gdb conversion functions.
Paul Brook [Sun, 1 Oct 2006 21:05:22 +0000 (1 21:05 +0000)]
2006-10-01 Paul Brook <paul@codesourcery.com>
* libgloss/
arm/arm.sc: Add all .ARM.extab* sections.
Nathan Sidwell [Fri, 29 Sep 2006 13:35:17 +0000 (29 13:35 +0000)]
libgloss/
* m68k/bdm-semihost.S: Add more comments. Make instruction weirder.
Paul Brook [Wed, 27 Sep 2006 19:57:14 +0000 (27 19:57 +0000)]
2006-09-17 Paul Brook <paul@codesourcery.com>
newlib/
Backport form mainline
2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdio.h: Do not allow macros
for clearerr, feof, or fileno.
* libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
the dummy std stream scheme to use pointers to const external
fake files, one for each standard stream.
* libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
argument. For _REENT_SMALL, reset the file pointer if it
matches one of the fake std stream pointers.
* libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
argument.
* libc/stdio/fclose.c: Ditto.
* libc/stdio/feof.c: Ditto.
* libc/stdio/ferror.c: Ditto.
* libc/stdio/fflush.c: Ditto.
* libc/stdio/fgetc.c: Ditto.
* libc/stdio/fgets.c: Ditto.
* libc/stdio/fileno.c: Ditto.
* libc/stdio/findfp.c: Ditto.
* libc/stdio/fputc.c: Ditto.
* libc/stdio/fputs.c: Ditto.
* libc/stdio/fread.c: Ditto.
* libc/stdio/freopen.c: Ditto.
* libc/stdio/fseek.c: Ditto.
* libc/stdio/ftell.c: Ditto.
* libc/stdio/fwrite.c: Ditto.
* libc/stdio/getc.c: Ditto.
* libc/stdio/getdelim.c: Ditto.
* libc/stdio/putc.c: Ditto.
* libc/stdio/refill.c: Ditto.
* libc/stdio/setvbuf.c: Ditto.
* libc/stdio/ungetc.c: Ditto.
* libc/stdio/vfprintf.c: Ditto.
* libc/stdio/vfscanf.c: Ditto.
* libc/stdio/wbuf.c: Ditto.: Ditto.
* libc/stdio/wsetup.c: Ditto.
* libc/stdio64/freopen64.c: Ditto.
* libc/stdio64/fseeko64.c: Ditto.
* libc/stdio64/ftello64.c: Ditto.
* libc/machine/powerpc/vfprintf.c: Ditto.
* libc/machine/powerpc/vfscanf.c: Ditto.
Nathan Sidwell [Fri, 22 Sep 2006 07:09:38 +0000 (22 07:09 +0000)]
libgloss/
* m68k/bdm-crt1.c (hardware_init_hook): Use #defines for CACR bits.
Paul Brook [Thu, 21 Sep 2006 23:42:46 +0000 (21 23:42 +0000)]
2006-09-21 Paul Brook <paul@codesourcery.com>
newlib/
* libc/include/sys/reent.h (_reent): Adjust _REENT_SMALL to be binary
compatible with normal layout
Paul Brook [Wed, 20 Sep 2006 23:27:53 +0000 (20 23:27 +0000)]
2006-09-20 Paul Brook <paul@codesourcery.com>
newlib/
* libc/include/sys/reent.h: Define and use __reent_assert.
Paul Brook [Wed, 20 Sep 2006 18:58:42 +0000 (20 18:58 +0000)]
2006-09-20 Paul Brook <paul@codesourcery.com>
libgloss/
* arm/arm.sc: Add .gnu.linkonce and .ARM.extab sections.
Paul Brook [Wed, 20 Sep 2006 17:06:36 +0000 (20 17:06 +0000)]
2006-09-20 Paul Brook <paul@codesourcery.com>
libgloss/
* configure.in: Add check for .init_array.
* configure: Regenerate.
Paul Brook [Wed, 20 Sep 2006 16:56:02 +0000 (20 16:56 +0000)]
2006-09-20 Paul Brook <paul@codesourcery.com>
newlib/
* libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
Nathan Sidwell [Mon, 18 Sep 2006 11:30:53 +0000 (18 11:30 +0000)]
libgloss/
* m68k/Makefile.in: Don't force a frame pointer on the ISRs.
* m68k/bdm-crt1.c (__start1): Don't set the VBR here.
(hardeare_init_hook): Define weakly. Set VBR here, enable caching
if supported.
Nathan Sidwell [Mon, 18 Sep 2006 07:41:02 +0000 (18 07:41 +0000)]
libgloss/
* m68k/Makefile.in (bdm-semihost.o): Build from bdm-semihost.S.
* m68k/bdm-semihost.c: Remove.
* m68k/bdm-semihost.S: New.
* m68k/bdm-crt0.S: Don't install semihosting trap handler.
* m68k/bdm-close.c, bdm-exit.c, bdm-fstat.c, bdm-gettimeofday.c,
bdm-isatty.c, bdm-lseek.c, bdm-open.c, bdm-read.c, bdm-rename.c,
bdm-stat.c, bdm-system.c, bdm-unlink.c, bdm-write.c): Update.
* m68k/bdm-isrs.c: Update comment.
* m68k/bdm-semihost.h (BDM_TRAPNUM, BDM_FUNC_REG, BDM_ARG_REG,
BDM_TRAP): Remove.
(__bdm_semihost): Declare.
Nathan Sidwell [Fri, 15 Sep 2006 13:24:03 +0000 (15 13:24 +0000)]
libgloss/
* m68k/Makefile.in (BDM_OTHER_OBJS): Remove sbrk.o.
(BDM_SYSOBJS): Add bdm-sbrk.o.
* m68k/bdm-sbrk.c: New.
Paul Brook [Mon, 11 Sep 2006 17:58:46 +0000 (11 17:58 +0000)]
2006-09-11 Paul Brook <paul@codesourcery.com>
libgloss/
* arm/arm.sc: Add .jcr.
Paul Brook [Mon, 11 Sep 2006 16:55:11 +0000 (11 16:55 +0000)]
2006-09-11 Daniel Jacobowitz <dan@codesourcery.com>
libgloss/
* arm/Makefile.in (armv7m, lm3s10x, lm3s301, lm3s31x): Swap
RAM and ROM.
(rdimon, rdpmon): Skip 8k.
Nathan Sidwell [Wed, 6 Sep 2006 08:45:15 +0000 (6 08:45 +0000)]
libgloss/
* m68k/Makefile.in (CF_SOURCES): New.
(install): Install them.
Paul Brook [Fri, 1 Sep 2006 21:55:12 +0000 (1 21:55 +0000)]
2006-09-01 Paul Brook <paul@codesourcery.com>
libgloss/
* arm/Makefile.in: Reduce rdi/rdp ram size to avoid overflow.
Nathan Sidwell [Fri, 1 Sep 2006 17:00:14 +0000 (1 17:00 +0000)]
libgloss/
* m68k/cf.sc: Add .jcr section to .text.
Paul Brook [Fri, 1 Sep 2006 15:28:54 +0000 (1 15:28 +0000)]
2006-09-01 Paul Brook <paul@codesourcery.com>
libgloss/
* arm/Makefile.in: Include _exit.c in BSPs. Add rdimon-ram.ld.
Build linker scripts instead of spec files for rdimon and rdpmon.
Pass CRT0 ad BSP to arm.sc.
* arm/_exit.c: New file.
* arm/arm.sc: Add STARTUP, GROUP and SEARCH_DIR. Remove defaults
for ROM and RAM.
* arm/crt0.S: Give Thumb-2 symbols function type.
Skip generic Arm init code for Thumb-2.
Add _nmi_isr and _fault_isr.
* arm/libcfunc.c (do_AngelSWI): Remove.
* arm/swi.h (do_AngelSWI): New function.
* arm/syscalls.c (do_AngelSWI): Remove.
(_exit): Remove.
(isatty): New function.
Kazu Hirata [Thu, 31 Aug 2006 17:40:35 +0000 (31 17:40 +0000)]
Reformat ChangeLog entries.
Nathan Sidwell [Thu, 31 Aug 2006 13:08:46 +0000 (31 13:08 +0000)]
libgloss/
* m68k/bdm-crt1.c: Call hardware_init_hook before copying
initialized data.
Nathan Sidwell [Thu, 31 Aug 2006 09:00:40 +0000 (31 09:00 +0000)]
libgloss/
* m68k/Makefile.in (CF_BDM_SCRIPTS): Rename to CF_RAM_SCRIPTS.
(CF_SCRIPTS): Update.
(%-bdm.ld): Rename to %-ram.ld.
Paul Brook [Wed, 30 Aug 2006 22:24:17 +0000 (30 22:24 +0000)]
2006-08-30 Paul Brook <paul@codesourcery.com>
libgloss/
* arm/Makefile.in: Change armv7m linker script generation. Add
armv7m.spec. Build armv7m-crt0.o.
* arm/arm.sc: New file.
* arm/armv7m.specs: New file.
* arm/crt0.S: Add armv7m code.
* arm/elf-lm3s10x.ld: Remove.
* arm/elf-lm3s301.ld: Remove.
* arm/elf-lm3s31x.ld: Remove.
* arm/swi.h (do_AngelSWI): Add definition.
* arm/syscalls.c: Merge lazy semihosting initialization from newlib.
newlib/
* libc/sys/arm/crt0.S: Add armv7m rom startup code.
Paul Brook [Tue, 29 Aug 2006 22:05:40 +0000 (29 22:05 +0000)]
2006-08-29 Paul Brook <paul@codesourcery.com>
newlib/
* libc/sys/arm/_fault_isr.c (_fault_isr): Compile unconditionally.
* libc/sys/arm/_nmi_isr.c (_nmi_isr): Ditto.
Paul Brook [Tue, 29 Aug 2006 21:53:30 +0000 (29 21:53 +0000)]
2006-08-29 Paul Brook <paul@codesourcery.com>
newlib/
* acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Remove.
* configure.in: Remove --disable-newlib-atexit-dynamic-alloc.
* libc/stdlib/__atexit.c (__register_exitproc): Use weak reference to
malloc. Only allocate dynamically if it is present.
* libc/stdlib/__call_atexit.c (__call_exitprocs): Use weak reference
to free.
* configure: Regenerate.
* newlib.hin: Regenerate.
Paul Brook [Tue, 29 Aug 2006 20:26:58 +0000 (29 20:26 +0000)]
2006-08-29 Paul Brook <paul@codesourcery.com>
newlib/
* libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
Nathan Sidwell [Fri, 25 Aug 2006 11:55:48 +0000 (25 11:55 +0000)]
libgloss/
* m68k/Makefile.in (DBUG_BSP, DBUG_OBJS): Remove.
(BDM_CRT0): New.
(BDM_OBJS): Add bdm-crt1.o.
(BDM_OTHER_OBJS): Remove print.o putnum.o
(CF_BOARDS): New.
(CF_BDM_SCRIPTS): Generated name of ram scripts.
(CF_ROM_SCRIPTS): Generated name of rom scripts.
(CF_SCRIPTS): Adjust.
(all): Add BDM_CRT0.
(bdm-crt0.o, bdm-crt1.o): New targets.
(bdm-isv.o): Remove.
(m5208evb, m5213evb, m52235evb, m5235evb, m5273c3, m5282evb,
m5329evb, m5485evb): New.
(%-bdm.ld, %-rom.ld): New. Replace individual linker script rules.
(install): Remove DBUG installs.
* m68k/bdm-crt0.S: New.
* m68k/bdm-crt1.c: New.
* m68k/bdm-exit.c: Call __reset.
* m68k/bdm-isv.c: Remove.
* m68k/cf.sc: Adjust to produce either rom or ram images.
* m68k/dbug-exit.S, m68k/dbug-inbyte.S, m68k/dbug-outbyte.S: Remove.
Paul Brook [Tue, 22 Aug 2006 20:48:23 +0000 (22 20:48 +0000)]
2006-08-22 Paul Brook <paul@codesourcery.com>
newlib/
* libc/sys/arm/syscalls.c (initialise_monitor_handles): Fix
multithreaded locking.
Kazu Hirata [Mon, 14 Aug 2006 16:11:25 +0000 (14 16:11 +0000)]
Fix a typo.
Nathan Sidwell [Mon, 24 Jul 2006 16:50:26 +0000 (24 16:50 +0000)]
add bug number
Nathan Sidwell [Mon, 24 Jul 2006 16:49:07 +0000 (24 16:49 +0000)]
libgloss/
* m68k/cf.sc: Set entry point to _start.
* m68k/crt0.X (_start): New name for entrypoint
(start): Weak alias for start.
Mark Mitchell [Fri, 23 Jun 2006 22:11:48 +0000 (23 22:11 +0000)]
Issue #754
libgloss/
* arm/elf-lm3s301.ld: Include cm3.ld.
* arm/elf-lm3s31x.ld: Likewise.
Mark Mitchell [Tue, 13 Jun 2006 20:56:37 +0000 (13 20:56 +0000)]
Issue #733
libgloss/
* arm/Makefile.in (LMS_SCRIPTS): Add lm3s301.ld and lm3s31x.ld.
Nathan Sidwell [Fri, 9 Jun 2006 20:31:19 +0000 (9 20:31 +0000)]
libgloss/
* m68k/bdm-system.c (_system): Support system(NULL).
Sandra Loosemore [Fri, 9 Jun 2006 15:52:15 +0000 (9 15:52 +0000)]
Add additional ARM_RDI_MONITOR calls
Nathan Sidwell [Thu, 8 Jun 2006 06:55:17 +0000 (8 06:55 +0000)]
* libgloss/m68k/bdm-system.c (_system): Properly encode non
failure exit code.
Nathan Sidwell [Mon, 5 Jun 2006 14:25:04 +0000 (5 14:25 +0000)]
fix changelog
Nathan Sidwell [Mon, 5 Jun 2006 14:22:25 +0000 (5 14:22 +0000)]
* libgloss/m68k/Makefile.in (BDM_SYSOBJS): Remove bdm-inbyte.o.
Add bdm-time.o.
* libgloss/m68k/bdm-close.c: Add copyright notice.
* libgloss/m68k/bdm-fstat.c: Add copyright notice.
* libgloss/m68k/bdm-gettimeofday.c: Add copyright notice. Fix &/|
thinko.
* libgloss/m68k/bdm-inbyte.c: Remove.
* libgloss/m68k/bdm-isatty.c: Add copyright notice.
* libgloss/m68k/bdm-lseek.c: Add copyright notice.
* libgloss/m68k/bdm-open.c: Add copyright notice.
* libgloss/m68k/bdm-read.c: Add copyright notice.
* libgloss/m68k/bdm-rename.c: Add copyright notice.
* libgloss/m68k/bdm-stat.c: Add copyright notice.
* libgloss/m68k/bdm-system.c: Add copyright notice.
* libgloss/m68k/bdm-time.c: New.
* libgloss/m68k/bdm-unlink.c: Add copyright notice.
* libgloss/m68k/bdm-write.c: Add copyright notice.
Mark Mitchell [Wed, 31 May 2006 14:11:13 +0000 (31 14:11 +0000)]
* libgloss/arm/elf-lm3s301.ld: New script.
* libgloss/arm/elf-lm3s31x.ld: Likewise.
Mark Mitchell [Wed, 31 May 2006 14:07:02 +0000 (31 14:07 +0000)]
* libgloss/arm/Makefile.in (LMS_SCRIPTS): New variable.
(LMS_INSTALL): Likewise.
(install): Depend on LMS_INSTALL.
(install-lms): New target.
* libgloss/arm/elf-cm3.lmd: New file.
* libgloss/arm/elf-lm3s10x.ld: Likewise.
Mark Mitchell [Wed, 31 May 2006 13:52:58 +0000 (31 13:52 +0000)]
Issue #667
* newlib/libc/sys/arm/syscalls.c (findslot): Call
initialise_monitor_handles.
(remap_handle): Do not call initialise_monitor_handles.
Nathan Sidwell [Thu, 25 May 2006 17:33:19 +0000 (25 17:33 +0000)]
* libgloss/m68k/Makefile.in (m52235-dbug.ld, m52235-bdm.ld): New
scripts.
Nathan Sidwell [Wed, 24 May 2006 07:54:51 +0000 (24 07:54 +0000)]
* libgloss/m68k/Makefile.in (BDM_SYSOBJS): Remove bdm-outbyte.o
* libgloss/m68k/bdm-outbyte.c: Delete.
* libgloss/m68k/bdm-semihost.h (BDM_OUTBYTE): Mark as obsolete.
Sandra Loosemore [Mon, 22 May 2006 22:26:09 +0000 (22 22:26 +0000)]
Add semihosting support for BDM mode on ColdFire
Kazu Hirata [Thu, 4 May 2006 17:14:59 +0000 (4 17:14 +0000)]
* libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_memclr.c,
aeabi_memcpy.c, aeabi_memmove.c and aeabi_memset.c.
* libc/sys/arm/Makefile.in: Regenerate.
* libc/sys/arm/aeabi.h: New file.
* libc/sys/arm/aeabi_memclr.c: New file.
* libc/sys/arm/aeabi_memcpy.c: New file.
* libc/sys/arm/aeabi_memmove.c: New file.
* libc/sys/arm/aeabi_memset.c: New file.
Nathan Sidwell [Wed, 29 Mar 2006 13:59:02 +0000 (29 13:59 +0000)]
* libgloss/m68k/bdm-isv.c (software_init_hook): Fix trap numbering.
Nathan Sidwell [Wed, 29 Mar 2006 09:08:37 +0000 (29 09:08 +0000)]
* libgloss/m68k/Makefile.in (CF_SCRIPTS): Add m5329 board.
Reorder.
(*-dbug.ld, *-bdm.ld): Add appropriate IO definition.
(m5329evb-dbug.ld, m5329evb-bdm.ld): New.
* cf.sc (GROUP): Revert previous change. Add IO library.
Nathan Sidwell [Wed, 29 Mar 2006 07:03:19 +0000 (29 07:03 +0000)]
* libgloss/m68k/Makefile.in (BDM_BSP, BDM_OBJS, BDM_ISRS): New.
(CF_SCRIPTS): Rename dbug scripts. Add bdm scripts. Add m5485
scripts.
(all): Add new targets.
(BDM_BSP): New target.
(bdm-isv.o, bdm-exit.o, bdm-outbyte.o, bdm-semihost.o): New
targets.
(BDM_ISRS): New targets.
(m5208evb.ld, m5213evb.ld, m5235evb.ld, m5272c3.ld, m5282evb.ld):
Rename and adjust.
(m5485evb-dbug): New.
(m5208evb-bdm.ld, m5213evb-bdm.ld, m5235evb-bdm.ld,
m5272c3-bdm.ld, m5282evb-bdm.ld, m5485evb-bdm.ld): New.
(install): Add BDM_BSP.
* libgloss/m68k/bdm-exit.c: New
* libgloss/m68k/bdm-inbyte.c: New
* libgloss/m68k/bdm-outbyte.c: New
* libgloss/m68k/bdm-semihost.c: New
* libgloss/m68k/bdm-semihost.h: New
* libgloss/m68k/bdm-isrs.c: New.
* libgloss/m68k/bdm-isv.c: New.
* cf-dbug.sc: Renamed to ...
* cf.sc: ... here. Add bdm flexibility. Remove GROUP
Mark Mitchell [Thu, 23 Mar 2006 18:36:09 +0000 (23 18:36 +0000)]
2006-03-23 Mark Mitchell <mark@codesourcery.com>
* libc/sys/arm/Makefile.am (extra_objs): Add _exit.o _nmi_isr.o
_fault_isr.o.
* libc/sys/arm/Makefile.in: Regenerated.
* libc/sys/arm/_exit.c: New file.
* libc/sys/arm/_fault_isr.c: Likewise.
* libc/sys/arm/_nmi_isr.c: Likewise.
* libc/sys/arm/configure.in (--enable-newlib-arm-v7m): New option.
* libc/sys/arm/configure:
* libc/sys/arm/crt0.S (_start): Do not use semihosting calls in
_start when configured for ARM V7M. Do not call
initialise_monitor_handles. Indent preprocessor directives.
(.isr_vector): New section, on ARM V7M.
* libc/sys/arm/swi.h (do_AngelSWI): New function.
* syscalls.c (_exit): Remove.
(do_AngelSWI): Likewise.
(CHECK_INIT): Remove.
(remap_handle): Call initialise_monitor_handles.
(__arm_monitor_handles_lock): New variable.
(initialise_monitor_handles): Make sure to run only once.
Paolo Bonzini [Tue, 14 Mar 2006 16:26:44 +0000 (14 16:26 +0000)]
2006-03-14 Paolo Bonzini <bonzini@gnu.org>
* Makefile.in: Regenerate.
Paolo Bonzini [Tue, 14 Mar 2006 16:10:08 +0000 (14 16:10 +0000)]
2006-03-14 Paolo Bonzini <bonzini@gnu.org>
Sync with gcc:
2006-03-10 Aldy Hernandez <aldyh@redhat.com>
* configure.in: Handle --disable-<component> generically.
* configure: Regenerate.
2006-02-21 Rafael Avila de Espindola <rafael.espindola@gmail.com>
* Makefile.tpl (BUILD_CONFIGDIRS): Remove.
(TARGET_CONFIGDIRS): Remove.
* configure.in: Remove AC_SUBST(target_configdirs).
* Makefile.in, configure: Regenerated.
Richard Sandiford [Tue, 14 Mar 2006 07:47:49 +0000 (14 07:47 +0000)]
bfd/
* elf32-mips.c (mips_elf_adjust_addend): New function, mostly split
out from...
(_bfd_mips_elf_relocate_section): ...here. Use it to adjust r_addend
for final links too.
ld/testsuite/
* ld-mips/emit-relocs-1a.s, ld-mips/emit-relocs-1b.s,
* ld-mips/emit-relocs-1.ld, ld-mips/emit-relocs-1.d: New test.
* ld-mips/mips-elf.exp: Run it.
Jim Blandy [Tue, 14 Mar 2006 06:16:13 +0000 (14 06:16 +0000)]
2006-03-13 Jim Blandy <jimb@codesourcery.com>
* MAINTAINERS: Use my work address.
DJ Delorie [Tue, 14 Mar 2006 04:23:52 +0000 (14 04:23 +0000)]
* m32c-asm.c: Regenerate.
* m32c-desc.c: Likewise.
* m32c-desc.h: Likewise.
* m32c-dis.c: Likewise.
* m32c-ibld.c: Likewise.
* m32c-opc.c: Likewise.
* m32c-opc.h: Likewise.
DJ Delorie [Tue, 14 Mar 2006 03:34:28 +0000 (14 03:34 +0000)]
* mem.c (mem_put_byte): Hook simulated UART to stdout.
(mem_put_hi): Hook in simulated trace port.
(mem_get_byte): Hook in simulated uart control port.
* opc2c: Be more picky about matching special comments.
* r8c.opc (shift_op): Limit shift counts to -16..16.
(BMcnd): Map conditional codes.
* reg.c (condition_true): Mask condition code to 4 bits.
* syscalls.c: Include local syscall.h.
* syscall.h: New, copied from libgloss.
DJ Delorie [Tue, 14 Mar 2006 02:37:35 +0000 (14 02:37 +0000)]
* MAINTAINERS: Add self as m32c sim maintainer.
DJ Delorie [Tue, 14 Mar 2006 00:30:59 +0000 (14 00:30 +0000)]
i* m32c-desc.c: Regenerate.
* m32c-opc.c: Likewise.
* m32c-opc.h: Likewise.
gdbadmin [Tue, 14 Mar 2006 00:00:35 +0000 (14 00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 13 Mar 2006 23:00:06 +0000 (13 23:00 +0000)]
daily update
DJ Delorie [Mon, 13 Mar 2006 20:00:44 +0000 (13 20:00 +0000)]
merge from gcc
Richard Sandiford [Mon, 13 Mar 2006 19:14:23 +0000 (13 19:14 +0000)]
bfd/
* elfxx-mips.c (mips_elf_create_got_section): Initialize hgot.
gdbadmin [Mon, 13 Mar 2006 00:00:04 +0000 (13 00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 12 Mar 2006 23:00:06 +0000 (12 23:00 +0000)]
daily update
Daniel Jacobowitz [Sun, 12 Mar 2006 19:20:47 +0000 (12 19:20 +0000)]
file sha1.c was initially added on branch gdb-csl-available-
20060303-branch.
Daniel Jacobowitz [Sun, 12 Mar 2006 19:20:47 +0000 (12 19:20 +0000)]
file sha1.h was initially added on branch gdb-csl-available-
20060303-branch.
gdbadmin [Sun, 12 Mar 2006 00:00:32 +0000 (12 00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 11 Mar 2006 23:00:05 +0000 (11 23:00 +0000)]
daily update
H.J. Lu [Sat, 11 Mar 2006 15:01:18 +0000 (11 15:01 +0000)]
2006-03-11 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2443
* dwarf2.c (concat_filename): Don't issue an error if file is
0.
DJ Delorie [Sat, 11 Mar 2006 02:23:17 +0000 (11 02:23 +0000)]
* m32c.cpu (mul.l): New.
(mulu.l): New.
* m32c-desc.c: Regenerate with mul.l, mulu.l.
* m32c-opc.c: Likewise.
* m32c-opc.h: Likewise.
gdbadmin [Sat, 11 Mar 2006 00:00:03 +0000 (11 00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 10 Mar 2006 23:00:06 +0000 (10 23:00 +0000)]
daily update
Michael Snyder [Fri, 10 Mar 2006 20:15:42 +0000 (10 20:15 +0000)]
2006-03-09 Michael Snyder <msnyder@redhat.com>
* linux-nat.c (kill_inferior): Just call target_mourn_inferior
instead of getting tricky for the multi-fork case.
* linux-fork.c (linux_fork_killall): Call PT_KILL and waitpid
for each fork, and then use init_fork_list to delete them.
Paul Brook [Fri, 10 Mar 2006 17:20:30 +0000 (10 17:20 +0000)]
2006-03-10 Paul Brook <paul@codesourcery.com>
bfd/
* elf32-arm.c (INTERWORK_FLAG): Handle EABIv5.
(elf32_arm_print_private_bfd_data): Ditto.
binutils/
* readelf.c (decode_ARM_machine_flags): Handle EABIv5.
gas/
* config/tc-arm.c (md_begin): Handle EABIv5.
(arm_eabis): Add EF_ARM_EABI_VER5.
* doc/c-arm.texi: Document -meabi=5.
include/elf/
* arm.h (EF_ARM_EABI_VER5): Define.
Paul Brook [Fri, 10 Mar 2006 17:16:49 +0000 (10 17:16 +0000)]
2006-03-10 Paul Brook <paul@codesourcery.com>
include/opcode/
* arm.h (ARM_AEXT_V7_ARM): Include v6ZK extensions.
Joel Brobecker [Fri, 10 Mar 2006 02:05:51 +0000 (10 02:05 +0000)]
* MAINTAINERS (Patch Champions): Remove self.
gdbadmin [Fri, 10 Mar 2006 00:00:33 +0000 (10 00:00 +0000)]
*** empty log message ***
Paul Brook [Thu, 9 Mar 2006 23:05:59 +0000 (9 23:05 +0000)]
2006-03-09 Paul Brook <paul@codesourcery.com>
bfd/
* cpu-arm.c (bfd_is_arm_mapping_symbol_name): Recognise additional
mapping symbols.
gas/testsuite/
* gas/arm/nomapping.d: New test.
* gas/arm/nomapping.s: New test.
Alan Modra [Thu, 9 Mar 2006 23:00:06 +0000 (9 23:00 +0000)]
daily update
Jim Blandy [Thu, 9 Mar 2006 21:44:27 +0000 (9 21:44 +0000)]
2006-03-07 Jim Blandy <jimb@red-bean.com>
* gdb.texinfo (Connecting): Document 'target remote pipe'.
Jim Blandy [Thu, 9 Mar 2006 21:42:31 +0000 (9 21:42 +0000)]
2006-03-07 Jim Blandy <jimb@red-bean.com>
* gdb.texinfo (Target Commands): Update text describing how to
specify a target. Refer to the detailed section on remote
debugging, not the brief mention.
Jim Blandy [Thu, 9 Mar 2006 17:59:12 +0000 (9 17:59 +0000)]
2006-03-07 Jim Blandy <jimb@red-bean.com>
* gdb.texinfo (Connecting): Organize the different 'target remote'
connection methods into a table. Add a 'target remote' index
entry. (!!!)
Nick Clifton [Thu, 9 Mar 2006 17:28:10 +0000 (9 17:28 +0000)]
Update Swedish translations
Nick Clifton [Thu, 9 Mar 2006 17:06:58 +0000 (9 17:06 +0000)]
* elf32-arm.c(elf32_arm_finish_dynamic_sections): Use unsigned char type.
Alexandre Oliva [Thu, 9 Mar 2006 00:22:09 +0000 (9 00:22 +0000)]
gdb/ChangeLog:
* solib-svr4.c (svr4_current_sos): Move up initialization of
l_addr, such that it clearly covers all cases.
gdb/testsuite/ChangeLog:
* gdb.base/prelink.exp: Anchor tested-for regular expression
on gdb prompt.
gdbadmin [Thu, 9 Mar 2006 00:00:05 +0000 (9 00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 8 Mar 2006 23:00:05 +0000 (8 23:00 +0000)]
daily update
H.J. Lu [Wed, 8 Mar 2006 21:24:22 +0000 (8 21:24 +0000)]
2006-03-08 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_choose_gp): Properly choose gp.
Andreas Schwab [Wed, 8 Mar 2006 15:28:17 +0000 (8 15:28 +0000)]
* ia64-tdep.c (ia64_libunwind_frame_this_id): Adapt uses of
libunwind_frame_prev_register to use a gdb_byte buffer and
extract_unsigned_integer.
(ia64_libunwind_sigtramp_frame_prev_register): Likewise.
* libunwind-frame.c (libunwind_frame_prev_register): Change type
of last argument to `gdb_byte *'
* libunwind-frame.h: Adjust declaration.
Paul Brook [Wed, 8 Mar 2006 14:22:47 +0000 (8 14:22 +0000)]
2006-03-08 Paul Brook <paul@codesourcery.com>
* arm-tdep.c (arm_push_dummy_call): Remove stack alignment.
(arm_frame_align): New function.
(arm_gdbarch_init): Use it.
gdbadmin [Wed, 8 Mar 2006 00:00:03 +0000 (8 00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 7 Mar 2006 23:00:06 +0000 (7 23:00 +0000)]
daily update
Paul Brook [Tue, 7 Mar 2006 21:40:50 +0000 (7 21:40 +0000)]
2006-03-07 Paul Brook <paul@codesourcery.com>
* gdb.base/assign.exp: Correct fail message.
H.J. Lu [Tue, 7 Mar 2006 20:18:06 +0000 (7 20:18 +0000)]
gas/testsuite/
2006-03-07 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2428
* gas/i386/i386.exp: Add rep, rep-suffix, x86-64-rep and
x86-64-rep-suffix.
* gas/i386/naked.d: Replace repz with rep.
* gas/i386/x86_64.d: Likewise.
* gas/i386/rep-suffix.d: New file.
* gas/i386/rep-suffix.s: Likewise.
* gas/i386/rep.d: Likewise.
* gas/i386/rep.s: Likewise.
* gas/i386/x86-64-rep-suffix.d: Likewise.
* gas/i386/x86-64-rep-suffix.s: Likewise.
* gas/i386/x86-64-rep.d: Likewise.
* gas/i386/x86-64-rep.s: Likewise.
opcodes/
2006-03-07 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2428
* i386-dis.c (REP_Fixup): New function.
(AL): Remove duplicate.
(Xbr): New.
(Xvr): Likewise.
(Ybr): Likewise.
(Yvr): Likewise.
(indirDXr): Likewise.
(ALr): Likewise.
(eAXr): Likewise.
(dis386): Updated entries of ins, outs, movs, lods and stos.
Paul Brook [Tue, 7 Mar 2006 19:55:55 +0000 (7 19:55 +0000)]
2006-03-07 Paul Brook <paul@codesourcery.com>
* elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
Paul Brook [Tue, 7 Mar 2006 18:51:56 +0000 (7 18:51 +0000)]
2006-03-07 Paul Brook <paul@codesourcery.com>
* lib/compiler.c: Extract armcc version number.
* lib/compiler.cc: Ditto.
Paul Brook [Tue, 7 Mar 2006 15:23:33 +0000 (7 15:23 +0000)]
2006-03-07 Paul Brook <paul@codesourcery.com>
* gdb.arch/altivec-abi.exp: Use nowarnings instead of
additional_flags=-w.
* gdb.arch/altivec-regs.exp: Ditto.
* gdb.arch/e500-abi.exp: Ditto.
* gdb.arch/e500-regs.exp: Ditto.
* gdb.base/all-bin.exp: Ditto.
* gdb.base/annota1.exp: Ditto.
* gdb.base/annota3.exp: Ditto.
* gdb.base/args.exp: Ditto.
* gdb.base/arithmet.exp: Ditto.
* gdb.base/assign.exp: Ditto.
* gdb.base/async.exp: Ditto.
* gdb.base/bang.exp: Ditto.
* gdb.base/break.exp: Ditto.
* gdb.base/call-rt-st.exp: Ditto.
* gdb.base/completion.exp: Ditto.
* gdb.base/cond-expr.exp: Ditto.
* gdb.base/condbreak.exp: Ditto.
* gdb.base/consecutive.exp: Ditto.
* gdb.base/define.exp: Ditto.
* gdb.base/display.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/environ.exp: Ditto.
* gdb.base/eval-skip.exp: Ditto.
* gdb.base/info-proc.exp: Ditto.
* gdb.base/jump.exp: Ditto.
* gdb.base/logical.exp: Ditto.
* gdb.base/long_long.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/miscexprs.exp: Ditto.
* gdb.base/pc-fp.exp: Ditto.
* gdb.base/pointers.exp: Ditto.
* gdb.base/relational.exp: Ditto.
* gdb.base/reread.exp: Ditto.
* gdb.base/sect-cmd.exp: Ditto.
* gdb.base/sep.exp: Ditto.
* gdb.base/sepdebug.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.base/whatis-exp.exp: Ditto.
* gdb.cp/annota2.exp: Ditto.
* gdb.cp/annota3.exp: Ditto.
* gdb.trace/actions.exp: Ditto.
* gdb.trace/backtrace.exp: Ditto.
* gdb.trace/circ.exp: Ditto.
* gdb.trace/collection.exp: Ditto.
* gdb.trace/deltrace.exp: Ditto.
* gdb.trace/infotrace.exp: Ditto.
* gdb.trace/limits.exp: Ditto.
* gdb.trace/packetlen.exp: Ditto.
* gdb.trace/passc-dyn.exp: Ditto.
* gdb.trace/passcount.exp: Ditto.
* gdb.trace/report.exp: Ditto.
* gdb.trace/save-trace.exp: Ditto.
* gdb.trace/tfind.exp: Ditto.
* gdb.trace/tracecmd.exp: Ditto.
* gdb.trace/while-dyn.exp: Ditto.
* gdb.trace/while-stepping.exp: Ditto.
* lib/gdb.exp: Ditto.
(gdb_compile): Handle nowarning option.
Richard Sandiford [Tue, 7 Mar 2006 08:39:21 +0000 (7 08:39 +0000)]
bfd/
* configure.in (bfd_elf32_bigarm_vec): Include elf-vxworks.lo.
(bfd_elf32_bigarm_symbian_vec): Likewise.
(bfd_elf32_bigarm_vxworks_vec): Likewise.
(bfd_elf32_littlearm_vec): Likewise.
(bfd_elf32_littlearm_symbian_vec): Likewise.
(bfd_elf32_littlearm_vxworks_vec): Likewise.
* configure: Regenerate.
* elf32-arm.c: Include libiberty.h and elf-vxworks.h.
(RELOC_SECTION, RELOC_SIZE, SWAP_RELOC_IN, SWAP_RELOC_OUT): New macros.
(elf32_arm_vxworks_bed): Add forward declaration.
(elf32_arm_howto_table_1): Fix the masks for R_ASM_ABS12.
(elf32_arm_vxworks_exec_plt0_entry): New table.
(elf32_arm_vxworks_exec_plt_entry): Likewise.
(elf32_arm_vxworks_shared_plt_entry): Likewise.
(elf32_arm_link_hash_table): Add vxworks_p and srelplt2 fields.
(reloc_section_p): New function.
(create_got_section): Use RELOC_SECTION.
(elf32_arm_create_dynamic_sections): Likewise. Call
elf_vxworks_create_dynamic_sections for VxWorks targets.
Choose between the two possible values of plt_header_size
and plt_entry_size.
(elf32_arm_link_hash_table_create): Initialize vxworks_p and srelplt2.
(elf32_arm_abs12_reloc): New function.
(elf32_arm_final_link_relocate): Call it. Allow the creation of
dynamic R_ARM_ABS12 relocs on VxWorks. Use reloc_section_p,
RELOC_SIZE, SWAP_RELOC_OUT and RELOC_SECTION. Initialize the
r_addend fields of relocs. On rela targets, skip any code that
adjusts in-place addends. When using _bfd_link_final_relocate
to perform a final relocation, pass rel->r_addend as the addend
argument.
(elf32_arm_merge_private_bfd_data): If one of the bfds is a VxWorks
object, ignore flags that are not standard on VxWorks.
(elf32_arm_check_relocs): Allow the creation of dynamic R_ARM_ABS12
relocs on VxWorks. Use reloc_section_p.
(elf32_arm_adjust_dynamic_symbol): Use RELOC_SECTION and RELOC_SIZE.
(allocate_dynrelocs): Use RELOC_SIZE. Account for the size of
.rela.plt.unloaded relocs on VxWorks targets.
(elf32_arm_size_dynamic_sections): Use RELOC_SIZE. Check for
.rela.plt.unloaded as well as .rel(a).plt. Add DT_RELA* tags
instead of DT_REL* tags on RELA targets.
(elf32_arm_finish_dynamic_symbol): Use RELOC_SECTION, RELOC_SIZE
and SWAP_RELOC_OUT. Initialize r_addend fields. Handle VxWorks
PLT entries. Do not make _GLOBAL_OFFSET_TABLE_ absolute on VxWorks.
(elf32_arm_finish_dynamic_sections): Use RELOC_SECTION, RELOC_SIZE
and SWAP_RELOC_OUT. Initialize r_addend fields. Handle DT_RELASZ
like DT_RELSZ. Handle the VxWorks form of initial PLT entry.
Correct the .rela.plt.unreloaded symbol indexes.
(elf32_arm_output_symbol_hook): Call the VxWorks version of this
hook on VxWorks targets.
(elf32_arm_vxworks_link_hash_table_create): Set vxworks_p to true.
Minor formatting tweak.
(elf32_arm_vxworks_final_write_processing): New function.
(elf_backend_add_symbol_hook): Override for VxWorks and reset
for Symbian.
(elf_backend_final_write_processing): Likewise.
(elf_backend_emit_relocs): Likewise.
(elf_backend_want_plt_sym): Likewise.
(ELF_MAXPAGESIZE): Likewise.
(elf_backend_may_use_rel_p): Minor formatting tweak.
(elf_backend_may_use_rela_p): Likewise.
(elf_backend_default_use_rela_p): Likewise.
(elf_backend_rela_normal): Likewise.
* Makefile.in (elf32-arm.lo): Depend on elf-vxworks.h.
gas/
* config/tc-arm.c (md_apply_fix): Install a value of zero into a
BFD_RELOC_ARM_OFFSET_IMM field if we're going to generate a RELA
R_ARM_ABS12 reloc.
(tc_gen_reloc): Keep the original fx_offset for RELA pc-relative
relocs, but adjust by md_pcrel_from_section. Create R_ARM_ABS12
relocations for BFD_RELOC_ARM_OFFSET_IMM on RELA targets.
gas/testsuite/
* gas/arm/abs12.s, gas/arm/abs12.d: New test.
* gas/arm/pic.d: Skip for *-*-vxworks*...
* gas/arm/pic_vxworks.d: ...use this version instead.
* gas/arm/unwind_vxworks.d: Fix expected output.
ld/
* emulparams/armelf_vxworks.sh: Include vxworks.sh.
(MAXPAGESIZE): Define.
* emulparams/vxworks.sh: Undefine.
* Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-arm/vxworks1.dd, ld-arm/vxworks1.ld, ld-arm/vxworks1-lib.dd,
* ld-arm/vxworks1-lib.nd, ld-arm/vxworks1-lib.rd,
* ld-arm/vxworks1-lib.s, ld-arm/vxworks1.rd, ld-arm/vxworks1.s,
* ld-arm/vxworks1-static.d, ld-arm/vxworks2.s, ld-arm/vxworks2.sd,
* ld-arm/vxworks2-static.sd: New tests.
* ld-arm/arm-elf.exp: Run them.
Alexandre Oliva [Tue, 7 Mar 2006 05:05:29 +0000 (7 05:05 +0000)]
* gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
* gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
Rename executable to prelinkt. Don't re-prelink if we didn't
get a core file. Test prelink -u exit status to tell whether
prelinking failed. Use gdb_test_multiple.
gdbadmin [Tue, 7 Mar 2006 00:00:02 +0000 (7 00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 6 Mar 2006 23:00:07 +0000 (6 23:00 +0000)]
daily update