* libnosys/warning.h (link_warning) [HAVE_GNU_LD and HAVE_ELF]:
Prefix symbol in section name with __SYMBOL_PREFIX. Do not use
__make_section_unallocated. Mark magic variable as used.
* libnosys/configure.in (libc_cv_asm_previous_directive): Set
cache-id variable.
(libc_cv_asm_popsection_directive): Ditto.
(libc_cv_section_attributes): Ditto.
(libc_symbol_prefix): Rename from libc_dollar_prefix. Check for
"_" as well, and set __SYMBOL_PREFIX accordingly.
* libnosys/configure: Regenerate.
* libnosys/warning.h (__make_section_unallocated)
[HAVE_ASM_PREVIOUS_DIRECTIVE, HAVE_ASM_POPSECTION_DIRECTIVE]: Use "\n"
instead of ";" to delimit assembly lines.
* arm/configure.in: Check the value of newlib-may-supply-syscalls
enablement variable to determine if crt0 should or should not be
built.
* arm/configure: Regenerated.
* arm/Makefile.in: Changed to look at @BUILD_CRT0_TRUE@ and
@BUILD_CRT0_FALSE@ variables set in configure to determine
if crt0.o should be built and installed.
* arm/crt0.S: Copied from newlib and it now also sets up stacks for
FIQ and IRQ mode, plus calls hardware_init_hook() and
software_init_hook() if present.
* arm/libcfunc.c, arm/swi.h, arm/syscalls.c: Copied
from newlib.
* arm/Makefile.in: Build crt0.o, rdpmon-crt0.o, rdimon-crt0.o,
librdpmon.a, librdimon.a - support file for "bare" setup, as well
as "RDP" and "RDI" monitors.
* arm/coff-rdpmon.specs, arm/elf-rdpmon.specs,
arm/coff-rdimon.specs, arm/elf-rdimon.specs: gcc specs files to go
with above mentioned support libs and startfiles.
* mips/regs.S (C0_COUNT): Fix comment that kept this from being
defined.
* mips/vr4300.S: Use C0_COUNT as appropriate instead of hardcoding $9.
* mips/vr5xxx.S: Likewise.
* m68hc11/sci-inout.S: Supports -mlong-calls.
* m68hc11/sim-valid-m68hc11.ld (.tramp): New section for trampolines.
(.text): Mark the .installN and .finiN section with KEEP.
(.vectors): Likewise for .vectors.
(.gcc_except_table): New section.
* m68hc11/sim-valid-m68hc12.ld (.tramp): New section for trampolines.
(.text): Mark the .installN and .finiN section with KEEP.
(.vectors): Likewise for .vectors.
(.gcc_except_table): New section.
* frv/crt0.S (_start): Fix use of FDPIC conditionals. Move the set of
gr11 outside the FDPIC conditional. Avoid clobbering gr4 too early.
2003-11-14 Richard Sandiford <rsandifo@redhat.com>
* frv/crt0.S: Fix fdpic sp calculation.
2003-11-05 Alexandre Oliva <aoliva@redhat.com>
* frv/crt0.S: Use __stacksize, not __stack, to initialize sp on
FDPIC. Update comments on computing _GLOBAL_OFFSET_TABLE_. Don't
fixup ctors nor dtors on FDPIC.
2003-09-19 Alexandre Oliva <aoliva@redhat.com>
* frv/crt0.S (_start): Set up gr15 only for FDPIC.
* frv/crt0.S (_start): Save _GLOBAL_OFFSET_TABLE_ in gr17, and set
gr15 before function calls.
2003-09-19 DJ Delorie <dj@redhat.com>, Alexandre Oliva <aoliva@redhat.com>
* frv/crt0.S (_start): Set up gr15 with _GLOBAL_OFFSET_TABLE_'s
value.
* m68k/asm.h: Add macros for -fPIC, -msep-data and
-mid-shared-library support.
* m68k/crt0.S: Use macros for -fPIC, -msep-data and
-mid-shared-library support.
* m68k/sim-crt0.S: Likewise.
* mips/crt0_cfe.S: New file.
* mips/cfe_mem.c: New file.
* mips/cfe_prestart.S: Remove.
* mips/cfe.ld: Adjust to use crt0_cfe.o as the startup file, and
and use _start as the entry point. Align BSS to 32-byte boundary.
* mips/cfe.c: Reimplement to fit on top of a crt0_cfe.o file.
* mips/cfe_api.h (__libcfe_stack_size, __libcfe_mem_limit)
(__libcfe_meminit, __libcfe_stack_top): New prototypes.
* mips/Makefile.in (CFEOBJS): Replace cfe_prestart.o with cfe_mem.o.
(cfe.o, cfe_api.o, cfe_mem.o, crt0_cfe.o): New targets.
* mips/configure.in: Build and install crt0_cfe.o when CFE support
is built.
* mips/configure: Regenerate.