]> rtime.felk.cvut.cz Git - fpga/lx-cpu1/newlib-tumbl.git/log
fpga/lx-cpu1/newlib-tumbl.git
11 years agoAdd support for tilegx in gold.
walt [Sat, 15 Sep 2012 17:11:26 +0000 (17:11 +0000)]
Add support for tilegx in gold.
* configure.ac (ENABLE_GOLD): support tilegx*
* configure: rebuild
elfcpp:
* tilegx.h: New file.
* elfcpp.h: add EM_TILEGX.
gold:
* tilegx.cc: New file.
* Makefile.am (TARGETSOURCES): Add tilegx.cc
(ALL_TARGETOBJS): Add tilegx.$(OBJEXT)
* configure.tgt: Add entries for tilegx*.
* configure.ac: Likewise.
* Makefile.in: Rebuild.
* configure: Likewise.
* testsuite/icf_safe_test.sh (arch_specific_safe_fold): Handle
tilegx.

11 years ago PR target/38607
dje [Fri, 14 Sep 2012 23:55:22 +0000 (23:55 +0000)]
    PR target/38607
        Merge upstream change.
        * libtool.m4 (_LT_COMPILER_PIC): Add -fPIC to GCC and GXX for AIX.

        * configure.ac: Add target-libquadmath to noconfigdirs for AIX.
        Add libgomp*.o to compare_exclusions for AIX.
        * configure: Regenerate.

11 years agobi-endian support for moxie.
Stan Cox [Thu, 13 Sep 2012 23:57:32 +0000 (23:57 +0000)]
bi-endian support for moxie.

11 years ago* gdb/remote.c (remote_insert_hw_breakpoint): Throw exception if
wrighton [Wed, 12 Sep 2012 20:01:10 +0000 (20:01 +0000)]
* gdb/remote.c (remote_insert_hw_breakpoint): Throw exception if
there is an error inserting hardware breakpoints and use the
error message from the target.

* gdb/breakpoint.c (insert_bp_location, insert_breakpoint_locations):
Catch this exception and print the error message contained within. Do not
print the default hardware error breakpoint message in this case.

11 years ago* rx/rx.ld: Add W_* sections to .rodata.
DJ Delorie [Thu, 30 Aug 2012 21:08:13 +0000 (21:08 +0000)]
* rx/rx.ld: Add W_* sections to .rodata.
* rx/rx-sim.ld: Likewise.

11 years agolibgloss: cr16: add custom syscall list
Ralf Corsepius [Thu, 30 Aug 2012 07:04:41 +0000 (07:04 +0000)]
libgloss: cr16: add custom syscall list

11 years agoDon't set HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes
hjl [Sun, 26 Aug 2012 14:41:28 +0000 (14:41 +0000)]
Don't set HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes

PR binutils/4970
* Makefile.def (host_modules): Rmove lib_path=.libs from bfd
and opcodes.
* Makefile.in: Regenerated.

11 years agoSync toplevel files with GCC tree
hjl [Sun, 26 Aug 2012 14:34:38 +0000 (14:34 +0000)]
Sync toplevel files with GCC tree

2012-08-14   Diego Novillo  <dnovillo@google.com>

Merge from cxx-conversion branch.

* Makefile.tpl (STAGE[+id+]_CXXFLAGS): Remove
POSTSTAGE1_CONFIGURE_FLAGS.
* Makefile.in: Regenerate.
* configure.ac (ENABLE_BUILD_WITH_CXX): Remove.  Update all users.
Force C++ when bootstrapping.
* configure: Regenerate.

2012-07-06  Richard Guenther  <rguenther@suse.de>

* Makefile.def (cloog): Pass $(HOST_GMPINC) and $(HOST_ISLINC)
as CPPFLAGS, pass path to built gmp as LDFLAGS, always use
--with-gmp=system.
* Makefile.in: Regenerated.
* configure: Likewise.

2012-07-06  Richard Guenther  <rguenther@suse.de>

* configure.ac (extra_isl_gmp_configure_flags): Initialize and subst.
* Makefile.def (isl): Use extra_isl_gmp_configure_flags and
supply V=1 as extra_make_flags.
* configure: Regenerated.
* Makefile.in: Likewise.

2012-07-03  Richard Guenther  <rguenther@suse.de>

* Makfile.def (isl): Remove not necessary extra_exports and
extra_make_flags.
(cloog): Use $$CPPFLAGS instead of ${CPPFLAGS}.
* Makefile.in: Regenerated.

2012-07-03  Richard Guenther  <rguenther@suse.de>

* Makefile.def (cloog): Add V=1 to extra_make_flags.
* configure.ac: If either the ISL or the CLooG check failed
do not try to build in-tree versions.
* Makefile.in: Regenerated.
* configure: Regenerated.

2012-07-02  Richard Guenther  <rguenther@suse.de>
Michael Matz  <matz@suse.de>
Tobias Grosser <tobias@grosser.es>
Sebastian Pop <sebpop@gmail.com>

* Makefile.def: Add ISL host module, remove PPL host module.
Adjust ClooG host module to use the proper ISL.
* Makefile.tpl: Pass ISL include flags instead of PPL ones.
* configure.ac: Include config/isl.m4.  Add ISL host library,
remove PPL.  Remove PPL configury, add ISL configury, adjust
ClooG configury.
* Makefile.in: Regenerated.
* configure: Likewise.

2012-07-02  Richard Guenther  <rguenther@suse.de>

Merge from graphite branch
2011-07-21  Tobias Grosser  <tobias@grosser.es>

* configure: Regenerated.
* config/cloog.m4: Remove support for CLooG-ppl and CLooG-parma,
both cloog.org and legacy versions. The only supported version will
be CLooG with the isl backend.

2011-07-21  Tobias Grosser  <tobias@grosser.es>

* configure: Regenerated.
* configure.ac: Require cloog isl 0.17.0

2011-07-21  Tobias Grosser  <tobias@grosser.es>

* configure: Regenerated.
* config/cloog.m4: Do not define CLOOG_ORG

2012-06-29  Steven Bosscher  <steven@gcc.gnu.org>

* configure.ac: Skip C if explicitly selected.
* configure: Regenerate.

2012-06-28  Christophe Lyon <christophe.lyon@st.com>

* configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Make sure
they contain -O2.
* configure: Regenerate.

2012-06-20  Jason Merrill  <jason@redhat.com>

* Makefile.tpl (check-target-libgomp-c++): New.
(check-target-libitm-c++): New.
* Makefile.def (c++): Add them.
* Makefile.in: Regenerate.

2012-05-16  Olivier Hainque  <hainque@adacore.com>

* Makefile.tpl (gcc-no-fixedincludes): Rename into ...
(gcc-install-no-fixedincludes): Now forwarder to local target in gcc/
(install-no-fixedincludes): Adjust accordingly.
* Makefile.in: Regenerate.

2012-05-09  Nick Clifton  <nickc@redhat.com>
    Paul Smith  <psmith@gnu.org>

PR bootstrap/50461
* configure.ac (mpfr-dir): When using in-tree MPFR sources
allow for the fact that from release v3.1.0 of MPFR the source
files were moved into a src sub-directory.
* configure: Regenerate.

2012-05-07  Janne Blomqvist  <jb@gcc.gnu.org>

* configure.ac: Bump minimum MPFR version to 2.4.0.
* configure: Regenerated.

2012-05-01  Richard Henderson  <rth@redhat.com>

* Makefile.def (libatomic): New target_module.
* configure.ac (target_libraries): Add libatomic.
(noconfigdirs): Check if libatomic is supported.
* Makefile.in, configure: Rebuild.

config/

2012-08-26  Art Haas <ahaas@impactweather.com>

* cloog.m4 (CLOOG_INIT_FLAGS): Use = instead of == in test.

2012-07-04  Tristan Gingold  <gingold@adacore.com>

* isl.m4 (ISL_CHECK_VERSION): Set to yes if cross-compiling.
Fix comments.

2012-07-03  Richard Guenther  <rguenther@suse.de>

* cloog.m4: Remove debugging print.

2012-07-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* isl.m4 (ISL_CHECK_VERSION): Add -lisl to LIBS, not LDFLAGS.

2012-07-02  Richard Guenther  <rguenther@suse.de>

* isl.m4 (_ISL_CHECK_CT_PROG): Omit main function header/footer.
Fix version test.

2012-07-02  Richard Guenther  <rguenther@suse.de>
Michael Matz  <matz@suse.de>
Tobias Grosser <tobias@grosser.es>
Sebastian Pop <sebpop@gmail.com>

* cloog.m4: Set up to work against ISL only.
* isl.m4: New file.

11 years agoSync libtool.m4 with GCC tree
hjl [Sun, 26 Aug 2012 14:09:07 +0000 (14:09 +0000)]
Sync libtool.m4 with GCC tree

2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>

Merge upstream change
* libtool.m4 (_LT_ENABLE_LOCK): Support x32.

2011-11-21  Andreas Tobler  <andreast@fgznet.ch>

* libtool.m4: Additional FreeBSD 10 fixes.

11 years ago* libc/stdio/flags.c (__sflags): Guard against using O_BINARY on systems which
Christopher Faylor [Thu, 23 Aug 2012 04:19:58 +0000 (04:19 +0000)]
* libc/stdio/flags.c (__sflags): Guard against using O_BINARY on systems which
do not provide it.

11 years ago* libc/stdio/flags.c (__sflags): Rewrite recognition of extended mode flags to
Christopher Faylor [Tue, 21 Aug 2012 14:51:50 +0000 (14:51 +0000)]
* libc/stdio/flags.c (__sflags): Rewrite recognition of extended mode flags to
just loop over more allowed flags.  Support glibc 'e' flag on systems defining
_GLIBC_EXTENSION.  Support C11 'x' flag.

11 years ago * libc/stdlib/btowc.c (btowc): Cast to avoid compiler warning.
Corinna Vinschen [Fri, 10 Aug 2012 15:21:55 +0000 (15:21 +0000)]
* libc/stdlib/btowc.c (btowc): Cast to avoid compiler warning.
* libc/search/hash_buf.c (__get_buf): Initialize local vars to avoid
compiler warning.
* libc/stdio/fgets.c (_fgets_r): Ditto.
* libc/time/strftime.c (strftime): Ditto.

11 years agoFix date
Corinna Vinschen [Fri, 10 Aug 2012 11:49:19 +0000 (11:49 +0000)]
Fix date

11 years ago * libc/stdio/vfwprintf.c (_VFWPRINTF_R): Fix guard around state to
Corinna Vinschen [Fri, 10 Aug 2012 09:37:31 +0000 (09:37 +0000)]
* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Fix guard around state to
allow usage in !FLOATING_POINT && _WANT_IO_C99_FORMATS case.

11 years ago * libc/posix/engine.c(dissect): Guard diagnostic pragma for right
Corinna Vinschen [Wed, 8 Aug 2012 14:05:53 +0000 (14:05 +0000)]
* libc/posix/engine.c(dissect): Guard diagnostic pragma for right
versions of GCC only.
* libc/string/strcasestr.c: Ditto.

Fix typo in previous ChangeLog entry.

11 years ago Throughout, run newlib with -Wall -Werror option and fix bugs and
Corinna Vinschen [Wed, 8 Aug 2012 11:04:16 +0000 (11:04 +0000)]
Throughout, run newlib with -Wall -Werror option and fix bugs and
compiler warnings found this way.

* libc/stdio/freopen.c (_freopen_r): Fix bug setting _flags.

* libc/include/stdio.h (_rename): Define when building newlib.
* libc/include/sys/signal.h (_kill): Ditto.
* libc/include/sys/stat.h (_mkdir): Ditto.
* libc/include/sys/time.h (_gettimeofday): Ditto.
* libc/include/sys/times.h (_times): Ditto.
* libc/include/sys/wait.h (_wait): Ditto.
* libc/locale/lmessages.c (empty): Don't define for Cygwin.
* libc/locale/lmonetary.c (cnv): Ditto.
* libc/locale/nl_langinfo.c (nl_langinfo): Ditto for variable s.
* libc/posix/collate.c: Throughout cast to avoid compiler warning.
* libc/posix/engine.c (matcher): Initialize dp to avoid compiler
warning.
* libc/posix/glob.c: Disable on Cygwin.  Explain why.
* libc/posix/regcomp.c: Fix "uninitialized" compiler warnings.
(dissect): Deliberately silence gcc compiler warning.  Add comment to
explain why.
* libc/posix/wordexp.c (wordexp): Remove num_bytes variable since result
is never used.
* libc/posix/popen.c (popen): Ditto for variable last.
* libc/reent/mkdirr.c: Include sys/stat.h.
* libc/reent/renamer.c: Include stdio.h.
* libc/search/hash.c:  Throughout use underscored variants of the stat
function family.
(init_hash): Add missing definition for the __USE_INTERNAL_STAT64 case.
* libc/search/hash_bigkey.c (__big_insert): Add parenthesis to avoid
compiler warning.
* libc/search/hash_page.c (overflow_page): Initalize freep to NULL to
avoid compiler warning.
* libc/stdio/asiprintf.c (_asiprintf_r): Cast unsigned char * to char *
to avoid compiler warning.
(asiprintf): Ditto.
* libc/stdio/asprintf.c (_asprintf_r): Ditto.
(asprintf): Ditto.
* libc/stdio/vasiprintf.c (_vasiprintf_r): Ditto.
* libc/stdio/vasprintf.c (_vasprintf_r): Ditto.
* libc/stdio/mktemp.c (_gettemp): Cast to unsigned char in call to
isdigit to avoid compiler warning.
* libc/stdio/vfprintf.c (_VFPRINTF_R): Initialize variables used for
grouping to avoid compiler warning.  Only define and set nseps and
nrepeats if they are really used.
* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Ditto.  Only define state if
it is really used.
* libc/stdio/vfscanf.c (u_char): Revert to be defined as unsigned char.
(__SVFSCANF_R): Cast fmt in call to __mbtowc.
* libc/stdlib/mbtowc_r.c (JIS_state_table): Disable when building
Cygwin.
(JIS_action_table): Ditto.
* libc/stdlib/wctomb_r.c (__utf8_wctomb): Add parenthesis to avoid
compiler warning.
* libc/string/strcasestr.c: Deliberately silence gcc compiler warning.
Add comment to explain why.
* libc/time/strptime.c (strptime): Cast to unsigned char in calls to
isspace to avoid compiler warning.
* libm/math/e_atan2.c (__ieee754_atan2): Add parenthesis to avoid
compiler warning.
* libm/math/e_exp.c (__ieee754_exp): Initialize k to 0 to avoid
compiler warning.  Drop setting it to 0 later.
* libm/math/ef_exp.c (__ieee754_expf): Ditto.
* libm/math/e_pow.c (__ieee754_pow): Add braces to avoid compiler
warning.
* libm/math/ef_pow.c (__ieee754_powf): Ditto.
* libm/math/er_lgamma.c (__ieee754_lgamma_r): Initialize nadj to 0 to
avoid compiler warning.
* libm/math/erf_lgamma.c (__ieee754_lgammaf_r): Ditto.
* libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Ditto for variable z.
* libm/common/sf_round.c (roundf): Remove signbit variable since result
is never used.

11 years ago * libc/stdlib/mprec.h (Storeinc): Add parenthesis to avoid compiler
Corinna Vinschen [Tue, 7 Aug 2012 17:52:49 +0000 (17:52 +0000)]
* libc/stdlib/mprec.h (Storeinc): Add parenthesis to avoid compiler
warning.

11 years ago * libc/sys/sysnecv850/crt0.S (_start): Use v850e-specific
Kevin Buettner [Mon, 30 Jul 2012 23:03:47 +0000 (23:03 +0000)]
* libc/sys/sysnecv850/crt0.S (_start): Use v850e-specific
start up code for v850e2 and v850e2v3 too.

11 years agoreaddir: drop bogus code
Eric Blake [Fri, 20 Jul 2012 16:55:18 +0000 (16:55 +0000)]
readdir: drop bogus code

* libc/posix/readdir.c (readdir): Drop bogus attempt to catch
bogus pointers.

11 years ago2012-07-18 Ralf Corsépius <ralf.corsepius@rtems.org>
Ralf Corsépius [Wed, 18 Jul 2012 15:22:45 +0000 (15:22 +0000)]
2012-07-18  Ralf Corsépius  <ralf.corsepius@rtems.org>

* libc/sys/rtems/machine/_types.h (_ssize_t): Use signed int for
__v850__, __851__.

11 years ago2012-07-17 Ralf Corsépius <ralf.corsepius@rtems.org>
Ralf Corsépius [Tue, 17 Jul 2012 16:56:44 +0000 (16:56 +0000)]
2012-07-17  Ralf Corsépius  <ralf.corsepius@rtems.org>

* libc/search/hcreate_r.c (hdestroy_r): #ifdef 0 unused vars ie, idx.

11 years ago2012-07-16 Ralf Corsépius <ralf.corsepius@rtems.org>
Ralf Corsépius [Mon, 16 Jul 2012 17:03:49 +0000 (17:03 +0000)]
2012-07-16  Ralf Corsépius  <ralf.corsepius@rtems.org>

* libc/posix/telldir.c: Conditionally build dd_hash_lock.

11 years ago2012-07-13 Ralf Corsépius <ralf.corsepius@rtems.org>
Ralf Corsépius [Fri, 13 Jul 2012 09:21:44 +0000 (09:21 +0000)]
2012-07-13  Ralf Corsépius  <ralf.corsepius@rtems.org>

* libc/sys/rtems/machine/_types.h (_ssize_t): Add __ARM_EABI__,
__v850__, __851__.

11 years ago Fix copy-paste error
Corinna Vinschen [Fri, 13 Jul 2012 07:57:14 +0000 (07:57 +0000)]
Fix copy-paste error

11 years ago * libc/stdio/fileno.c (fileno): Check if f is a valid stream. If not,
Corinna Vinschen [Mon, 9 Jul 2012 12:13:11 +0000 (12:13 +0000)]
* libc/stdio/fileno.c (fileno): Check if f is a valid stream.  If not,
return -1 and set errno to EBADF per POSIX.

11 years ago Allow building of Cygwin using Mingw64 SDK headers:
Corinna Vinschen [Fri, 6 Jul 2012 10:41:21 +0000 (10:41 +0000)]
Allow building of Cygwin using Mingw64 SDK headers:
* libc/include/sys/time.h: Drop _WINSOCK_H guard.  Just use
_TIMEVAL_DEFINED instead.
* libc/include/sys/types.h: Check for _WINSOCKAPI_ along with
_WINSOCK_H.
* libc/include/sys/unistd.h: Ditto.

11 years ago* configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Make sure
Alexandre Oliva [Thu, 28 Jun 2012 11:50:52 +0000 (11:50 +0000)]
* configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Make sure
they contain -O2.
* configure: Regenerate.

11 years ago * doc/Makefile.am (makedoc): Use LDFLAGS_FOR_BUILD not LDFLAGS.
Corinna Vinschen [Thu, 28 Jun 2012 08:25:48 +0000 (08:25 +0000)]
* doc/Makefile.am (makedoc): Use LDFLAGS_FOR_BUILD not LDFLAGS.
* doc/Makefile.in: Regenerate.

11 years ago* libc/include/sys/types.h: Don't use the same preprocessor guard for time_t,
Christopher Faylor [Tue, 26 Jun 2012 16:03:12 +0000 (16:03 +0000)]
* libc/include/sys/types.h: Don't use the same preprocessor guard for time_t,
timespec, and itimerspec.  Add a separate guard specifically for timespec and
always unconditionally define itimerspec.

11 years ago * libc/stdio/findfp.c (__sinit): Avoid infinite recursion on
Corinna Vinschen [Tue, 5 Jun 2012 16:17:15 +0000 (16:17 +0000)]
* libc/stdio/findfp.c (__sinit): Avoid infinite recursion on
_REENT_SMALL targets.  Add comment to explain.

12 years agoFix typo.
Corinna Vinschen [Thu, 31 May 2012 09:18:58 +0000 (09:18 +0000)]
Fix typo.

12 years ago * libc/stdio/local.h (_newlib_sfp_lock_exit): Fix typo in non-pthread
Corinna Vinschen [Thu, 31 May 2012 07:33:59 +0000 (07:33 +0000)]
* libc/stdio/local.h (_newlib_sfp_lock_exit): Fix typo in non-pthread
version.

12 years ago * libc/stdio/fgetws.c (_fgetws_r): Call _mbsnrtowcs_r rather than
Corinna Vinschen [Wed, 30 May 2012 14:42:52 +0000 (14:42 +0000)]
* libc/stdio/fgetws.c (_fgetws_r): Call _mbsnrtowcs_r rather than
_mbsrtowcs_r and restrict number of wide chars to n - 1.

12 years ago * libc/stdio/local.h (_newlib_flockfile_start): New macro to
Corinna Vinschen [Wed, 30 May 2012 08:58:41 +0000 (08:58 +0000)]
* libc/stdio/local.h (_newlib_flockfile_start): New macro to
secure stream related critical section against thread cancellation.
(_newlib_flockfile_exit): Ditto.
(_newlib_sfp_lock_end): Ditto.
(_newlib_sfp_lock_start): Ditto for the list of streams.
(_newlib_sfp_lock_exit): Ditto.
(_newlib_sfp_lock_end): Ditto.
Use aforementioned macros in place of _flockfile/_funlockfile
and __sfp_lock_acquire/__sfp_lock_release throughout the code.
* libc/stdio/fclose.c: Explicitely disable and re-enable thread
cancellation.  Explain why.
* libc/stdio/freopen.c: Ditto.
* libc/stdio64/freopen64.c: Ditto.

12 years agoResync config/ from GCC.
Joseph Myers [Tue, 29 May 2012 15:58:14 +0000 (15:58 +0000)]
Resync config/ from GCC.

12 years ago * libc/machine/cr16/asm.h: Added some missing instructions
Corinna Vinschen [Mon, 21 May 2012 11:55:14 +0000 (11:55 +0000)]
* libc/machine/cr16/asm.h: Added some missing instructions
and removed few unsupported instructions of cr16 target.

12 years agoAdd support for PowerPC VLE.
jwlemke [Mon, 14 May 2012 19:45:12 +0000 (19:45 +0000)]
Add support for PowerPC VLE.

2012-05-14  Catherine Moore  <clm@codesourcery.com>

* NEWS:  Mention PowerPC VLE port.

2012-05-14  James Lemke <jwlemke@codesourcery.com>
    Catherine Moore  <clm@codesourcery.com>

bfd/
* bfd.c (bfd_lookup_section_flags): Add section parm.
* ecoff.c (bfd_debug_section): Remove flag_info initializer.
* elf-bfd.h (bfd_elf_section_data): Move in section_flag_info.
(bfd_elf_lookup_section_flags): Add section parm.
* elf32-ppc.c (is_ppc_vle): New function.
(ppc_elf_modify_segment_map): New function.
(elf_backend_modify_segment_map): Define.
(has_vle_insns): New define.
* elf32-ppc.h (ppc_elf_modify_segment_map): Declare.
* elflink.c (bfd_elf_lookup_section_flags): Add return value & parm.
Move in logic to omit / include a section.
* libbfd-in.h (bfd_link_info): Add section parm.
(bfd_generic_lookup_section_flags): Likewise.
* reloc.c (bfd_generic_lookup_section_flags): Likewise.
* section.c (bfd_section): Move out section_flag_info.
(BFD_FAKE_SECTION): Remove flag_info initializer.
* targets.c (_bfd_lookup_section_flags): Add section parm.

2012-05-14  Catherine Moore  <clm@codesourcery.com>

bfd/
* archures.c (bfd_mach_ppc_vle): New.
* bfd-in2.h: Regenerated.
* cpu-powerpc.c (bfd_powerpc_archs): New entry for vle.
* elf32-ppc.c (split16_format_type): New enumeration.
(ppc_elf_vle_split16): New function.
(HOWTO): Add entries for R_PPC_VLE relocations.
(ppc_elf_reloc_type_lookup): Handle PPC_VLE relocations.
(ppc_elf_section_flags): New function.
(ppc_elf_lookup_section_flags): New function.
(ppc_elf_section_processing): New function.
(ppc_elf_check_relocs): Handle PPC_VLE relocations.
(ppc_elf_relocation_section): Likewise.
(elf_backend_lookup_section_flags_hook): Define.
(elf_backend_section_flags): Define.
(elf_backend_section_processing): Define.
* elf32-ppc.h (ppc_elf_section_processing): Declare.
* libbfd.h: Regenerated.
* reloc.c (BFD_RELOC_PPC_VLE_REL8, BFD_RELOC_PPC_VLE_REL15,
BFD_RELOC_PPC_VLE_REL24, BFD_RELOC_PPC_VLE_LO16A,
BFD_RELOC_PPC_VLE_LO16D, BFD_RELOC_PPC_VLE_HI16A,
BFD_RELOC_PPC_VLE_HI16D, BFD_RELOC_PPC_VLE_HA16A,
BFD_RELOC_PPC_VLE_HA16D, BFD_RELOC_PPC_VLE_SDA21,
BFD_RELOC_PPC_VLE_SDA21_LO, BFD_RELOC_PPC_VLE_SDAREL_LO16A,
BFD_RELOC_PPC_VLE_SDAREL_LO16D, BFD_RELOC_PPC_VLE_SDAREL_HI16A,
BFD_RELOC_PPC_VLE_SDAREL_HI16D, BFD_RELOC_PPC_VLE_SDAREL_HA16A,
BFD_RELOC_PPC_VLE_SDAREL_HA16D): New bfd relocations.

2012-05-14  James Lemke  <jwlemke@codesourcery.com>

gas/
* config/tc-ppc.c (insn_validate): New func of existing code to call..
(ppc_setup_opcodes): ..from 2 places here.
Revise for second (VLE) opcode table.
Add #ifdef'd code to print opcode tables.

2012-05-14  James Lemke  <jwlemke@codesourcery.com>

gas/
* config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order
for the VLE conditional branches.

2012-05-14  Catherine Moore  <clm@codesourcery.com>
            Maciej W. Rozycki  <macro@codesourcery.com>
    Rhonda Wittels  <rhonda@codesourcery.com>

gas/
* config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro.
(PPC_VLE_SPLIT16D): New macro.
(PPC_VLE_LO16A): New macro.
(PPC_VLE_LO16D): New macro.
(PPC_VLE_HI16A): New macro.
(PPC_VLE_HI16D): New macro.
(PPC_VLE_HA16A): New macro.
(PPC_VLE_HA16D): New macro.
(PPC_APUINFO_VLE): New definition.
(md_chars_to_number): New function.
(md_parse_option): Check for combinations of little
endian and -mvle.
(md_show_usage): Document -mvle.
(ppc_arch): Recognize VLE.
(ppc_mach): Recognize bfd_mach_ppc_vle.
(ppc_setup_opcodes): Print the opcode table if
* config/tc-ppc.h (ppc_frag_check): Declare.
* doc/c-ppc.texi: Document -mvle.
* NEWS:  Mention PowerPC VLE port.

2012-05-14  Catherine Moore  <clm@codesourcery.com>

gas/
* config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare.
(DWARF2_LINE_MIN_INSN_LENGTH): Redefine.
* config/tc-ppc.c (ppc_dw2_line_min_insn_length): New.
* dwarf2dbg.c (scale_addr_delta): Handle values of 1
for DWARF2_LINE_MIN_INSN_LENGTH.

2012-05-14  Catherine Moore  <clm@codesourcery.com>
            Maciej W. Rozycki  <macro@codesourcery.com>
    Rhonda Wittels  <rhonda@codesourcery.com>

gas/testsuite/
* gas/ppc/ppc.exp: Run new tests.
* gas/ppc/vle-reloc.d: New test.
* gas/ppc/vle-reloc.s: New test.
* gas/ppc/vle-simple-1.d: New test.
* gas/ppc/vle-simple-1.s: New test.
* gas/ppc/vle-simple-2.d: New test.
* gas/ppc/vle-simple-2.s: New test.
* gas/ppc/vle-simple-3.d: New test.
* gas/ppc/vle-simple-3.s: New test.
* gas/ppc/vle-simple-4.d: New test.
* gas/ppc/vle-simple-4.s: New test.
* gas/ppc/vle-simple-5.d: New test.
* gas/ppc/vle-simple-5.s: New test.
* gas/ppc/vle-simple-6.d: New test.
* gas/ppc/vle-simple-6.s: New test.
* gas/ppc/vle.d: New test.
* gas/ppc/vle.s: New test.

2012-05-14  James Lemke  <jwlemke@codesourcery.com>
include/elf/
* ppc.h (SEC_PPC_VLE): Remove.

2012-05-14  Catherine Moore  <clm@codesourcery.com>
    James Lemke  <jwlemke@codesourcery.com>

include/elf/
* ppc.h (R_PPC_VLE_REL8): New reloction.
(R_PPC_VLE_REL15): Likewise.
(R_PPC_VLE_REL24): Likewise.
(R_PPC_VLE_LO16A): Likewise.
(R_PPC_VLE_LO16D): Likewise.
(R_PPC_VLE_HI16A): Likewise.
(R_PPC_VLE_HI16D): Likewise.
(R_PPC_VLE_HA16A): Likewise.
(R_PPC_VLE_HA16D): Likewise.
(R_PPC_VLE_SDA21): Likewise.
(R_PPC_VLE_SDA21_LO): Likewise.
(R_PPC_VLE_SDAREL_LO16A): Likewise.
(R_PPC_VLE_SDAREL_LO16D): Likewise.
(R_PPC_VLE_SDAREL_HI16A): Likewise.
(R_PPC_VLE_SDAREL_HI16D): Likewise.
(R_PPC_VLE_SDAREL_HA16A): Likewise.
(R_PPC_VLE_SDAREL_HA16D): Likewise.
(SEC_PPC_VLE): Remove.
(PF_PPC_VLE): New program header flag.
(SHF_PPC_VLE): New section header flag.
(vle_opcodes, vle_num_opcodes): New.
(VLE_OP): New macro.
(VLE_OP_TO_SEG): New macro.

2012-05-14  Catherine Moore  <clm@codesourcery.com>
            Maciej W. Rozycki  <macro@codesourcery.com>
    Rhonda Wittels  <rhonda@codesourcery.com>

include/opcode/
* ppc.h (PPC_OPCODE_VLE): New definition.
(PPC_OP_SA): New macro.
(PPC_OP_SE_VLE): New macro.
(PPC_OP): Use a variable shift amount.
(powerpc_operand): Update comments.
(PPC_OPSHIFT_INV): New macro.
(PPC_OPERAND_CR): Replace with...
(PPC_OPERAND_CR_BIT): ...this and
(PPC_OPERAND_CR_REG): ...this.

2012-05-14  James Lemke  <jwlemke@codesourcery.com>

ld/
* ldlang.c (walk_wild_consider_section): Don't copy section_flag_list.
Pass it to callback.
(walk_wild_section_general): Pass section_flag_list to callback.
(lang_add_section): Add sflag_list parm.
Move out logic to keep / omit a section & call bfd_lookup_section_flags.
(output_section_callback_fast): Add sflag_list parm.
Add new parm to lang_add_section calls.
(output_section_callback): Likewise.
(check_section_callback): Add sflag_list parm.
(lang_place_orphans): Add new parm to lang_add_section calls.
(gc_section_callback): Add sflag_list parm.
(find_relro_section_callback): Likewise.
* ldlang.h (callback_t): Add flag_info parm.
(lang_add_section): Add sflag_list parm.
* emultempl/armelf.em (elf32_arm_add_stub_section):
Add lang_add_section parm.
* emultempl/beos.em (gld*_place_orphan): Likewise.
* emultempl/elf32.em (gld*_place_orphan): Likewise.
* emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise.
* emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise.
* emultempl/mipself.em (mips_add_stub_section): Likewise.
* emultempl/mmo.em (mmo_place_orphan): Likewise.
* emultempl/pe.em (gld_*_place_orphan): Likewise.
* emultempl/pep.em (gld_*_place_orphan): Likewise.
* emultempl/ppc64elf.em (ppc_add_stub_section): Likewise.
* emultempl/spuelf.em (spu_place_special_section): Likewise.
* emultempl/vms.em (vms_place_orphan): Likewise.

2012-05-14  James Lemke  <jwlemke@codesourcery.com>

ld/testsuite/
* ld-powerpc/powerpc.exp: Create ppceabitests.
* ld-powerpc/vle-multiseg.s: New.
* ld-powerpc/vle-multiseg-1.d: New.
* ld-powerpc/vle-multiseg-1.ld: New.
* ld-powerpc/vle-multiseg-2.d: New.
* ld-powerpc/vle-multiseg-2.ld: New.
* ld-powerpc/vle-multiseg-3.d: New.
* ld-powerpc/vle-multiseg-3.ld: New.
* ld-powerpc/vle-multiseg-4.d: New.
* ld-powerpc/vle-multiseg-4.ld: New.
* ld-powerpc/vle-multiseg-5.d: New.
* ld-powerpc/vle-multiseg-5.ld: New.
* ld-powerpc/vle-multiseg-6.d: New.
* ld-powerpc/vle-multiseg-6.ld: New.
* ld-powerpc/vle-multiseg-6a.s: New.
* ld-powerpc/vle-multiseg-6b.s: New.
* ld-powerpc/vle-multiseg-6c.s: New.
* ld-powerpc/vle-multiseg-6d.s: New.
* ld-powerpc/powerpc.exp: Run new tests.

2012-05-14  Catherine Moore  <clm@codesourcery.com>

ld/
* NEWS:  Mention PowerPC VLE port.

2012-05-14  Catherine Moore  <clm@codesourcery.com>

ld/testsuite/
* ld-powerpc/apuinfo.rd: Update for VLE.
* ld-powerpc/vle-reloc-1.d: New.
* ld-powerpc/vle-reloc-1.s: New.
* ld-powerpc/vle-reloc-2.d: New.
* ld-powerpc/vle-reloc-2.s: New.
* ld-powerpc/vle-reloc-3.d: New.
* ld-powerpc/vle-reloc-3.s: New.
* ld-powerpc/vle-reloc-def-1.s: New.
* ld-powerpc/vle-reloc-def-2.s: New.
* ld-powerpc/vle-reloc-def-3.s: New.

2012-05-14  James Lemke  <jwlemke@codesourcery.com>

opcodes/
* ppc-dis.c (get_powerpc_dialect): Use is_ppc_vle.
(PPC_OPCD_SEGS, VLE_OPCD_SEGS): New defines.
(vle_opcd_indices): New array.
(lookup_vle): New function.
(disassemble_init_powerpc): Revise for second (VLE) opcode table.
(print_insn_powerpc): Likewise.
* ppc-opc.c: Likewise.

2012-05-14  Catherine Moore  <clm@codesourcery.com>
            Maciej W. Rozycki  <macro@codesourcery.com>
    Rhonda Wittels  <rhonda@codesourcery.com>
    Nathan Froyd <froydnj@codesourcery.com>

opcodes/
* ppc-opc.c (insert_arx, extract_arx): New functions.
(insert_ary, extract_ary): New functions.
(insert_li20, extract_li20): New functions.
(insert_rx, extract_rx): New functions.
(insert_ry, extract_ry): New functions.
(insert_sci8, extract_sci8): New functions.
(insert_sci8n, extract_sci8n): New functions.
(insert_sd4h, extract_sd4h): New functions.
(insert_sd4w, extract_sd4w): New functions.
(insert_vlesi, extract_vlesi): New functions.
(insert_vlensi, extract_vlensi): New functions.
(insert_vleui, extract_vleui): New functions.
(insert_vleil, extract_vleil): New functions.
  (BI_MASK, BB_MASK, BT): Use PPC_OPERAND_CR_BIT.
  (BI16, BI32, BO32, B8): New.
(B15, B24, CRD32, CRS): New.
  (CRD, OBF, BFA, CR, CRFS): Use PPC_OPERAND_CR_REG.
(DB, IMM20, RD, Rx, ARX, RY, RZ): New.
(ARY, SCLSCI8, SCLSCI8N, SE_SD, SE_SDH): New.
(SH6_MASK): Use PPC_OPSHIFT_INV.
(SI8, UI5, OIMM5, UI7, BO16): New.
(VLESIMM, VLENSIMM, VLEUIMM, VLEUIMML): New.
(XT6, XA6, XB6, XB6S, XC6): Use PPC_OPSHIFT_INV.
(ALLOW8_SPRG): New.
(insert_sprg, extract_sprg): Check ALLOW8_SPRG.
(OPVUP, OPVUP_MASK OPVUP): New
(BD8, BD8_MASK, BD8IO, BD8IO_MASK): New.
(EBD8IO, EBD8IO1_MASK, EBD8IO2_MASK, EBD8IO3_MASK): New.
(BD15, BD15_MASK, EBD15, EBD15_MASK, EBD15BI, EBD15BI_MASK): New.
(BD24,BD24_MASK, C_LK, C_LK_MASK, C, C_MASK): New.
  (IA16, IA16_MASK, I16A, I16A_MASK, I16L, I16L_MASK): New.
(IM7, IM7_MASK, LI20, LI20_MASK, SCI8, SCI8_MASK): New.
(SCI8BF, SCI8BF_MASK, SD4, SD4_MASK): New.
(SE_IM5, SE_IM5_MASK): New.
(SE_R, SE_R_MASK, SE_RR, SE_RR_MASK): New.
(EX, EX_MASK, BO16F, BO16T, BO32F, BO32T): New.
(BO32DNZ, BO32DZ): New.
(NO371, PPCSPE, PPCISEL, PPCEFS, MULHW): Include PPC_OPCODE_VLE.
(PPCVLE): New.
(powerpc_opcodes): Add new VLE instructions.  Update existing
instruction to include PPCVLE if supported.
* ppc-dis.c (ppc_opts): Add vle entry.
(get_powerpc_dialect): New function.
(powerpc_init_dialect): VLE support.
(print_insn_big_powerpc): Call get_powerpc_dialect.
(print_insn_little_powerpc): Likewise.
(operand_value_powerpc): Handle negative shift counts.
(print_insn_powerpc): Handle 2-byte instruction lengths.

12 years agoMAINTAINERS: clarify policy with config/ (and other top level files)
Ralf Corsepius [Sat, 12 May 2012 03:10:17 +0000 (03:10 +0000)]
MAINTAINERS: clarify policy with config/ (and other top level files)

Rather than copy & paste more text, just merge the existing config/
section with the existing intl/ section.  This ends up clarifying
the policy with that subdir (and top level files) that any commit
made to gcc's repo is allowed to be merged with the sourceware tree
without pre-approval.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years ago PR bootstrap/50461
Nick Clifton [Thu, 10 May 2012 13:42:02 +0000 (13:42 +0000)]
PR bootstrap/50461
* configure.ac (mpfr-dir): When using in-tree MPFR sources
allow for the fact that from release v3.1.0 of MPFR the source
files were moved into a src sub-directory.
* configure: Regenerate.

12 years ago * libc/include/string.h (memrchr): Declare.
Corinna Vinschen [Thu, 10 May 2012 08:34:05 +0000 (08:34 +0000)]
* libc/include/string.h (memrchr): Declare.
* libc/string/Makefile.am (ELIX_4_SOURCES): Add memrchr.c.
(CHEWOUT_FILES): Add memrchr.def.
* libc/string/Makefile.in: Regenerate.
* libc/string/memrchr.c: New file.

12 years ago * libc/sys/rtems/machine/_types.h: Add Microblaze.
Corinna Vinschen [Thu, 10 May 2012 06:59:58 +0000 (06:59 +0000)]
* libc/sys/rtems/machine/_types.h: Add Microblaze.

12 years ago * libc/sys/rtems/crt0.c: Add stubs for access(), ftruncate(),
Corinna Vinschen [Wed, 9 May 2012 09:03:05 +0000 (09:03 +0000)]
* libc/sys/rtems/crt0.c: Add stubs for access(), ftruncate(),
_getpid_r(), geteuid(), getgid, _getgid_r, getpid(), getppid(),
and _getpid_r().

12 years ago * testsuite/newlib.string/strcmp-1.c (LONG_TEST): New macro.
Corinna Vinschen [Thu, 3 May 2012 08:13:17 +0000 (08:13 +0000)]
* testsuite/newlib.string/strcmp-1.c (LONG_TEST): New macro.
(MAX_BLOCK_SIZE): Use small value when LONG_TEST is not set.
(MAX_DIFF, MAX_LEN, MAX_ZEROS) Likewise.

12 years ago * configure.ac (ENABLE_GOLD): Consider *-*-nacl* targets ELF.
roland [Wed, 2 May 2012 21:37:21 +0000 (21:37 +0000)]
* configure.ac (ENABLE_GOLD): Consider *-*-nacl* targets ELF.
* configure: Regenerate.

gold/
* nacl.cc: New file.
* nacl.h: New file.
* Makefile.am (CCFILES, HFILES): Add them.
* Makefile.in: Regenerate.
* i386.cc (Output_data_plt_i386_nacl): New class.
(Output_data_plt_i386_nacl_exec): New class.
(Output_data_plt_i386_nacl_dyn): New class.
(Target_i386_nacl): New class.
(Target_selector_i386_nacl): New class.
(target_selector_i386): Use it instead of Target_selector_i386.
* x86_64.cc (Output_data_plt_x86_64_nacl): New class.
(Target_x86_64_nacl): New class.
(Target_selector_x86_64_nacl): New class.
(target_selector_x86_64, target_selector_x32): Use it instead of
Target_selector_x86_64.
* arm.cc (Output_data_plt_arm_nacl): New class.
(Target_arm_nacl): New class.
(Target_selector_arm_nacl): New class.
(target_selector_arm, target_selector_armbe): Use it instead of
Target_selector_arm.

* target-select.cc (select_target): Take new Input_file* and off_t
arguments, pass them on to recognize method of selector.
* object.cc (make_elf_sized_object): Update caller.
* parameters.cc (parameters_force_valid_target): Likewise.
* incremental.cc (make_sized_incremental_binary): Likewise.
* target-select.h: Update decl.
(Target_selector::recognize): Take new Input_file* argument,
pass it on to do_recognize.
(Target_selector::do_recognize): Take new Input_file* argument.
* freebsd.h (Target_selector_freebsd::do_recognize): Likewise.
* powerpc.cc (Target_selector_powerpc::do_recognize): Likewise.
* sparc.cc (Target_selector_sparc::do_recognize): Likewise.
* testsuite/testfile.cc (Target_selector::do_recognize): Likewise.

* target.h (Target::Target_info): New members isolate_execinstr
and rosegment_gap.
(Target::isolate_execinstr, Target::rosegment_gap): New methods.
* arm.cc (Target_arm::arm_info): Update initializer.
* i386.cc (Target_i386::i386_info): Likewise.
* powerpc.cc (Target_powerpc::powerpc_info): Likewise.
* sparc.cc (Target_sparc::sparc_info): Likewise.
* x86_64.cc (Target_x86_64::x86_64_info): Likewise.
* testsuite/testfile.cc (Target_test::test_target_info): Likewise.
* layout.cc (Layout::attach_allocated_section_to_segment):
Take new const Target* argument.  If target->isolate_execinstr(), act
like --rosegment.
(Layout::find_first_load_seg): Take new const Target* argument;
if target->isolate_execinstr(), reject PF_X segments.
(Layout::relaxation_loop_body): Update caller.
(Layout::set_segment_offsets): If target->isolate_execinstr(),
reset file offset to zero when we hit LOAD_SEG, and then do a second
loop over the segments before LOAD_SEG to reassign offsets after
addresses have been determined.  Handle target->rosegment_gap().
(Layout::attach_section_to_segment): Take new const Target* argument;
pass it to attach_allocated_section_to_segment.
(Layout::make_output_section): Update caller.
(Layout::attach_sections_to_segments): Take new const Target* argument;
pass it to attach_section_to_segment.
* gold.cc (queue_middle_tasks): Update caller.
* layout.h (Layout): Update method decls with new arguments.

* arm.cc (Target_arm::Target_arm): Take optional argument for the
Target_info pointer to use.
(Target_arm::do_make_data_plt): New virtual method.
(Target_arm::make_data_plt): New method that calls it.
(Target_arm::make_plt_entry): Use it.
(Output_data_plt_arm::Output_data_plt_arm): Take additional argument
for the section alignment.
(Output_data_plt_arm::do_first_plt_entry_offset): New abstract virtual
method.
(Output_data_plt_arm::first_plt_entry_offset): Call it.
(Output_data_plt_arm::do_get_plt_entry_size): New abstract virtual
method.
(Output_data_plt_arm::get_plt_entry_size): Call it.
(Output_data_plt_arm::do_fill_plt_entry): New abstract virtual method.
(Output_data_plt_arm::fill_plt_entry): New method that calls it.
(Output_data_plt_arm::do_fill_first_plt_entry): New abstract virtual
method.
(Output_data_plt_arm::fill_first_plt_entry): New method that calls it.
(Output_data_plt_arm::set_final_data_size): Use get_plt_entry_size
method instead of sizeof(plt_entry).
(Output_data_plt_arm::add_entry): Likewise.
Use first_plt_entry_offset method instead of sizeof(first_plt_entry).
(Target_arm::first_plt_entry_offset): Call method on this->plt_ rather
than static method.
(Target_arm::plt_entry_size): Likewise.
(Output_data_plt_arm::first_plt_entry, Output_data_plt_arm::plt_entry):
Move to ...
(Output_data_plt_arm_standard): ... here, new class.
(Output_data_plt_arm::do_write): Move guts of PLT filling to...
(Output_data_plt_arm_standard::do_fill_first_plt_entry): ... here ...
(Output_data_plt_arm_standard::do_fill_plt_entry): ... and here.

* x86_64.cc (Output_data_plt_x86_64::Output_data_plt_x86_64):
Take additional argument for the PLT entry size.
(Output_data_plt_x86_64::get_tlsdesc_plt_offset):
Use get_plt_entry_size method rather than plt_entry_size variable.
(Output_data_plt_x86_64::reserve_slot): Likewise.
(Output_data_plt_x86_64::do_adjust_output_section): Likewise.
(Output_data_plt_x86_64::add_entry): Likewise.
(Output_data_plt_x86_64::add_local_ifunc_entry): Likewise.
(Output_data_plt_x86_64::address_for_global): Likewise.
(Output_data_plt_x86_64::address_for_local): Likewise.
(Output_data_plt_x86_64::set_final_data_size): Likewise.
(Output_data_plt_x86_64::first_plt_entry_offset): Likewise.
Make method non-static.
(Output_data_plt_x86_64::do_get_plt_entry_size): New abstract virtual
method.
(Output_data_plt_x86_64::get_plt_entry_size): Just call that.
(Output_data_plt_x86_64::do_add_eh_frame): New abstract virtual method.
(Output_data_plt_x86_64::add_eh_frame): New method to call it.
(Output_data_plt_x86_64::do_fill_first_plt_entry): New abstract
virtual method.
(Output_data_plt_x86_64::fill_first_plt_entry): New method to call it.
(Output_data_plt_x86_64::do_fill_plt_entry): New abstract
virtual method.
(Output_data_plt_x86_64::fill_plt_entry): New method to call it.
(Output_data_plt_x86_64::do_fill_tlsdesc_entry): New abstract
virtual method.
(Output_data_plt_x86_64::fill_tlsdesc_entry): New method to call it.
(Output_data_plt_x86_64::plt_entry_size)
(Output_data_plt_x86_64::first_plt_entry)
(Output_data_plt_x86_64::plt_entry)
(Output_data_plt_x86_64::tlsdesc_plt_entry)
(Output_data_plt_x86_64::plt_eh_frame_fde_size)
(Output_data_plt_x86_64::plt_eh_frame_fde): Move to ...
(Output_data_plt_x86_64_standard): ... here, new class.
(Target_x86_64::Target_x86_64): Take optional argument for the
Target_info pointer to use.
(Target_x86_64::do_make_data_plt): New virtual method.
(Target_x86_64::make_data_plt): New method to call it.
(Target_x86_64::init_got_plt_for_update): Use that.
Call this->plt_->add_eh_frame method here.
(Output_data_plt_x86_64::init): Don't do add_eh_frame_for_plt here.
(Target_x86_64::first_plt_entry_offset): Call method on this->plt_
rather than static method.
(Target_x86_64::plt_entry_size): Likewise.
(Output_data_plt_x86_64::do_write): Use get_plt_entry_size method
rather than plt_entry_size variable.  Move guts of PLT filling to...
(Output_data_plt_x86_64_standard::do_fill_first_plt_entry): ... here ...
(Output_data_plt_x86_64_standard::do_fill_plt_entry): ... and here ...
(Output_data_plt_x86_64_standard::do_fill_tlsdesc_entry): ... and here.

* i386.cc (Output_data_plt_i386::Output_data_plt_i386): Take
additional argument for the section alignment.
Don't do add_eh_frame_for_plt here.
(Output_data_plt_i386::first_plt_entry_offset): Make the method
non-static.  Use get_plt_entry_size method rather than plt_entry_size
variable.
(Output_data_plt_i386::do_get_plt_entry_size): New abstract virtual
method.
(Output_data_plt_i386::get_plt_entry_size): Call it.
(Output_data_plt_i386::do_add_eh_frame): New abstract virtual method.
(Output_data_plt_i386::add_eh_frame): New method to call it.
(Output_data_plt_i386::do_fill_first_plt_entry): New abstract virtual
method.
(Output_data_plt_i386::fill_first_plt_entry): New method to call it.
(Output_data_plt_i386::do_fill_plt_entry): New abstract virtual
method.
(Output_data_plt_i386::fill_plt_entry): New method to call it.
(Output_data_plt_i386::set_final_data_size): Use get_plt_entry_size
method instead of plt_entry_size.
(Output_data_plt_i386::plt_entry_size)
(Output_data_plt_i386::plt_eh_frame_fde_size)
(Output_data_plt_i386::plt_eh_frame_fde): Move to ...
(Output_data_plt_i386_standard): ... here, new class.
(Output_data_plt_i386_exec): New class.
(Output_data_plt_i386::exec_first_plt_entry): Move to ...
(Output_data_plt_i386_exec::first_plt_entry): ... here.
(Output_data_plt_i386::exec_plt_entry): Move to ...
(Output_data_plt_i386_exec::plt_entry): ... here.
(Output_data_plt_i386_dyn): New class.
(Output_data_plt_i386::first_plt_entry): Move to ...
(Output_data_plt_i386_dyn::first_plt_entry): ... here.
(Output_data_plt_i386::dyn_plt_entry): Move to ...
(Output_data_plt_i386_dyn::plt_entry): ... here.
(Target_i386::Target_i386): Take optional argument for the Target_info
pointer to use.
(Target_i386::do_make_data_plt): New virtual method.
(Target_i386::make_data_plt): New method to call it.
(Target_i386::make_plt_section): Use that.
Call this->plt_->add_eh_frame method here.
(Output_data_plt_i386::add_entry): Use get_plt_entry_size method
rather than plt_entry_size variable.
(Output_data_plt_i386::add_local_ifunc_entry): Likewise.
(Output_data_plt_i386::address_for_local): Likewise.
(Output_data_plt_i386::do_write): Likewise.
Move guts of PLT filling to...
(Output_data_plt_i386_exec::do_fill_first_plt_entry): ... here ...
(Output_data_plt_i386_exec::do_fill_plt_entry): ... and here ...
(Output_data_plt_i386_dyn::do_fill_first_plt_entry): ... and here ...
(Output_data_plt_i386_dyn::do_fill_plt_entry): ... and here.

Change-Id: Id24b95600489835ff5e860a39c147203d4380c2b

12 years ago * arm/redboot-crt0.S (__change_mode): Replace mov with movs.
Corinna Vinschen [Wed, 2 May 2012 08:09:44 +0000 (08:09 +0000)]
* arm/redboot-crt0.S (__change_mode): Replace mov with movs.

12 years agoUpdate config.sub to 2012-04-18 version.
brobecke [Wed, 25 Apr 2012 15:53:25 +0000 (15:53 +0000)]
Update config.sub to 2012-04-18 version.

ChangeLog:

        * config.sub: Update to 2012-04-18 version from official repo.

12 years ago * configure.ac (ia64*-*-*vms*): Add support for ld.
Nick Clifton [Thu, 12 Apr 2012 07:34:56 +0000 (07:34 +0000)]
* configure.ac (ia64*-*-*vms*): Add support for ld.
* configure: Regenerate.

* scripttempl/ia64vms.sc: New file.
* emultempl/vms.em (_before_parse): Support for ia64.
(elf64-ia64-vms): New fragment for ia64.
* emulparams/elf64_ia64_vms.sh: New file.
* configure.tgt (ia64-*-*vms*): Add.
* Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64_ia64_vms.c
(eelf64_ia64_vms.c): New rule.
* Makefile.in: Regenerate.

* elflink.c (elf_link_output_extsym): Add a guard.
(bfd_elf_final_link): Remove assertion.
(bfd_elf_final_link): Add a guard.
* elfnn-ia64.c (INCLUDE_IA64_VMS): Removed.
(elfNN_vms_section_from_shdr, elfNN_vms_object_p)
(elfNN_vms_post_process_headers, elfNN_vms_section_processing)
(elfNN_vms_final_write_processing, elfNN_vms_close_and_cleanup):
Remove.
(elfNN-ia64-vms target): Move to ...
* elf64-ia64-vms.c: New file.
* configure.in (bfd_elf64_ia64_vms_vec): Add elf64-ia64-vms.lo
* Makefile.am (BFD64_BACKENDS): Add elf64-ia64-vms.lo.
(BFD64_BACKENDS_CFILES): Ad elf64-ia64-vms.c.
* configure: Regenerate.
* Makefile.in: Regenerate.

12 years ago * libc/locale/locale.c (__mb_cur_max): On Cygwin, align default value
Corinna Vinschen [Thu, 29 Mar 2012 20:27:14 +0000 (20:27 +0000)]
* libc/locale/locale.c (__mb_cur_max): On Cygwin, align default value
with default UTF-8 charset.

12 years ago * libc/stdio/findfp.c (__sinit): Set __sdidinit last.
Corinna Vinschen [Mon, 26 Mar 2012 10:43:05 +0000 (10:43 +0000)]
* libc/stdio/findfp.c (__sinit): Set __sdidinit last.

12 years agolibgloss: cris: respect DESTDIR when installing
Ralf Corsepius [Sat, 24 Mar 2012 03:38:28 +0000 (03:38 +0000)]
libgloss: cris: respect DESTDIR when installing

12 years ago * configure.ac (enable_libgomp): Remove *-*-irix6*.
Rainer Orth [Thu, 15 Mar 2012 14:13:31 +0000 (14:13 +0000)]
* configure.ac (enable_libgomp): Remove *-*-irix6*.
(unsupported_languages): Remove mips-sgi-irix6.*.
(noconfigdirs): Don't add ${libgcj} for mips*-*-irix6*.
(with_stabs): Remove.
* configure: Regenerate.

12 years ago * configure.ac (enable_libgomp): Remove *-*-osf*.
Rainer Orth [Thu, 15 Mar 2012 14:11:37 +0000 (14:11 +0000)]
* configure.ac (enable_libgomp): Remove *-*-osf*.
(with_stabs): Remove alpha*-*-osf*.
* configure: Regenerate.

12 years agolibgloss: libnosys: use @host_makefile_frag@
Ralf Corsepius [Tue, 13 Mar 2012 01:52:31 +0000 (01:52 +0000)]
libgloss: libnosys: use @host_makefile_frag@

Rather than inlining the generated rules, use @host_makefile_frag@ instead.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agolibgloss: change 'q' flag to 'r' in ar call
Ralf Corsepius [Tue, 13 Mar 2012 01:47:39 +0000 (01:47 +0000)]
libgloss: change 'q' flag to 'r' in ar call

The GNU ar has "q" aliased to "r", and we generally want this behavior anyways
(replacing rather than always appending), so change our AR_FLAGS definition.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years ago2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 9 Mar 2012 20:31:34 +0000 (20:31 +0000)]
2012-03-09  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Modify DJ Delorie license to include
        modification rights in clause as permitted by DJ Delorie.
        * COPYING.LIBGLOSS: Ditto.

12 years ago2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 9 Mar 2012 20:28:55 +0000 (20:28 +0000)]
2012-03-09  Jeff Johnston  <jjohnstn@redhat.com>

        * epiphany/access.c: Add modification rights to clause as
        permitted by DJ Delorie.
        * iq2000/access.c: Ditto.
        * mn10200/access.c: Ditto.
        * mn10300/access.c: Ditto.
        * mt/access.c: Ditto.
        * v850/access.c: Ditto.

12 years ago2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 9 Mar 2012 20:26:35 +0000 (20:26 +0000)]
2012-03-09  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/machine/setjmp-dj.h: Modify license to include
        modification in clause as permitted by DJ Delorie.
        * libc/machine/arm/access.c: Ditto.
        * libc/machine/i386/setjmp.S: Ditto.
        * libc/sys/h8300hms/sys/file.h: Ditto.
        * libc/sys/linux/machine/i386/setjmp.S: Ditto.
        * libc/sys/sysmec/access.c: Ditto.
        * libc/sys/sysnecv850/access.c: Ditto.

12 years ago2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 9 Mar 2012 19:38:10 +0000 (19:38 +0000)]
2012-03-09  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Remove two unused licenses.

12 years ago2012-03-05 Tristan Gingold <gingold@adacore.com>
gingold [Mon, 5 Mar 2012 11:57:17 +0000 (11:57 +0000)]
2012-03-05  Tristan Gingold  <gingold@adacore.com>

* configure.ac: Enable gdb and readline for ia64*-*-*vms*.
* configure: Regenerate.

12 years ago2012-03-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 2 Mar 2012 16:02:03 +0000 (16:02 +0000)]
2012-03-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/posix/readdir_r.c: Fix return code when end of
        directory is reached.

12 years ago * configure.in: Accept "arm*" target spec instead of just "arm".
Nick Clifton [Fri, 2 Mar 2012 13:20:07 +0000 (13:20 +0000)]
* configure.in: Accept "arm*" target spec instead of just "arm".
* configure: Regenerated.
* libnosys/configure.in: Likewise.
(libc_symbol_prefix): Renamed to libc_cv_symbol_prefix.
* libnosys/configure: Regenerated (using autoconf v2.68).

12 years ago * configure.host: Accept "arm*" host spec instead of just "arm".
Corinna Vinschen [Thu, 23 Feb 2012 09:30:17 +0000 (09:30 +0000)]
* configure.host: Accept "arm*" host spec instead of just "arm".

12 years ago2012-02-21 Joern Rennecke <joern.rennecke@embecosm.com>
Jeff Johnston [Tue, 21 Feb 2012 22:40:27 +0000 (22:40 +0000)]
2012-02-21  Joern Rennecke  <joern.rennecke@embecosm.com>

        * COPYING.NEWLIB: Add Adapteva notice.
        * COPYING.LIBGLOSS: Add Adapteva notice.

12 years ago2012-02-21 Jeremy Bennett <jeremy.bennett@embecosm.com>
Jeff Johnston [Tue, 21 Feb 2012 22:37:46 +0000 (22:37 +0000)]
2012-02-21  Jeremy Bennett  <jeremy.bennett@embecosm.com>
            Alan Lehotsky  <apl@alum.mit.edu>
            Joern Rennecke  <joern.rennecke@embecosm.com>

        * configure.in: Add Epiphany support.
        * configure: Regenerate.
        * epiphany: New directory.
        * libgloss/README: Add Epiphany entry.

12 years ago2012-02-21 Jeremy Bennett <jeremy.bennett@embecosm.com>
Jeff Johnston [Tue, 21 Feb 2012 22:34:29 +0000 (22:34 +0000)]
2012-02-21  Jeremy Bennett  <jeremy.bennett@embecosm.com>
            Alan Lehotsky  <apl@alum.mit.edu>
            Joern Rennecke  <joern.rennecke@embecosm.com>

        * configure.host: Add Epiphany support.
        * libc/include/machine/ieeefp.h: Likewise.
        * libc/include/machine/setjmp.h: Likewise.
        * libc/machine/configure.in, libc/sys/configure.in: Likewise.
        * libc/machine/configure, libc/sys/configure: Regenerate.
        * libc/machine/epiphany, libc/sys/epiphany: New directories.
        * NEWS: Mention addition of Epiphany.

12 years ago* configure.host: Fix typo: xdir_dir -> xdr_dir.
Christopher Faylor [Wed, 15 Feb 2012 18:32:05 +0000 (18:32 +0000)]
* configure.host: Fix typo: xdir_dir -> xdr_dir.

12 years ago* libc/include/_ansi.h (_ELIDABLE_INLINE): Fix C99 mode.
Eric Blake [Thu, 9 Feb 2012 19:58:33 +0000 (19:58 +0000)]
* libc/include/_ansi.h (_ELIDABLE_INLINE): Fix C99 mode.

12 years ago * libc/sys/rtems/sys/utime.h: Include <sys/types.h> to provide a
Corinna Vinschen [Thu, 9 Feb 2012 13:05:14 +0000 (13:05 +0000)]
* libc/sys/rtems/sys/utime.h: Include <sys/types.h> to provide a
definition of time_h.

12 years agoAdd missing file from previous checkin
Corinna Vinschen [Thu, 9 Feb 2012 12:57:34 +0000 (12:57 +0000)]
Add missing file from previous checkin

12 years ago * libc/machine/arm/strcmp.S: New File.
Corinna Vinschen [Thu, 9 Feb 2012 10:42:14 +0000 (10:42 +0000)]
* libc/machine/arm/strcmp.S: New File.
* libc/machine/arm/strcmp.c: Deleted.
* libc/machine/arm/Makefile.am: Replaces strcmp.c with strcmp.S
* libc/machine/arm/Makefile.in: Regenerated.
* testsuite/newlib.string/strcmp-1.c: New file.

12 years ago * libc/include/inttypes.h: Redefine pointer type macros.
Corinna Vinschen [Tue, 7 Feb 2012 16:42:19 +0000 (16:42 +0000)]
* libc/include/inttypes.h: Redefine pointer type macros.

12 years agolibgloss: bfin: add a better default _exit
Ralf Corsepius [Tue, 24 Jan 2012 04:41:10 +0000 (04:41 +0000)]
libgloss: bfin: add a better default _exit

12 years ago * arm/linux-crt0.c: Use ldr instead of adr to get address of
Corinna Vinschen [Tue, 17 Jan 2012 10:03:40 +0000 (10:03 +0000)]
* arm/linux-crt0.c: Use ldr instead of adr to get address of
_start_thumb.

12 years ago * libc/stdio/sprintf.c: Document 'm' conversion specifier.
Yaakov Selkowitz [Fri, 13 Jan 2012 09:13:56 +0000 (09:13 +0000)]
* libc/stdio/sprintf.c: Document 'm' conversion specifier.
* libc/stdio/swprintf.c: Ditto.
* libc/stdio/vfprintf.c (_VFPRINTF_R) [_GLIBC_EXTENSION]: Handle 'm'
conversion specifier.
* libc/stdio/vfwprintf.c (_VFWPRINTF_R) [_GLIBC_EXTENSION]: Ditto.

12 years ago * libc/include/tgmath.h: New header.
Yaakov Selkowitz [Thu, 12 Jan 2012 11:19:31 +0000 (11:19 +0000)]
* libc/include/tgmath.h: New header.

12 years ago * libc/include/sys/unistd.h [__CYGWIN__] (get_current_dir_name):
Yaakov Selkowitz [Mon, 9 Jan 2012 22:49:19 +0000 (22:49 +0000)]
* libc/include/sys/unistd.h [__CYGWIN__] (get_current_dir_name):
Declare.

12 years ago * libc/include/complex.h: Fix "/*" within comment warning.
Yaakov Selkowitz [Mon, 9 Jan 2012 22:46:33 +0000 (22:46 +0000)]
* libc/include/complex.h: Fix "/*" within comment warning.

12 years ago * libc/include/process.h: Remove Cygwin-only header.
Corinna Vinschen [Mon, 9 Jan 2012 17:06:19 +0000 (17:06 +0000)]
* libc/include/process.h: Remove Cygwin-only header.

12 years ago2012-01-03 Viachaslau Kulakouski <Viachaslau.Kulakouski@oracle.com>
Jeff Johnston [Tue, 3 Jan 2012 19:13:57 +0000 (19:13 +0000)]
2012-01-03  Viachaslau Kulakouski  <Viachaslau.Kulakouski@oracle.com>

        * libc/stdlib/__atexit.c: Refer to __atexit_lock instead of lock.

12 years agoconfig/:
schwab [Tue, 20 Dec 2011 17:01:29 +0000 (17:01 +0000)]
config/:
* warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in
expr call.
libdecnumber/:
* configure: Regenerate.
libiberty/:
* configure: Regenerate.

12 years ago * fvwrite.c (__sfvwrite_r): Set __SMBF flag to avoid double free in
Corinna Vinschen [Tue, 20 Dec 2011 09:06:57 +0000 (09:06 +0000)]
* fvwrite.c (__sfvwrite_r): Set __SMBF flag to avoid double free in
fclose.  Enhance comment.

12 years ago2011-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 19 Dec 2011 22:03:17 +0000 (22:03 +0000)]
2011-12-19  Jeff Johnston  <jjohnstn@redhat.com>

        * NEWS: Update with 1.20.0 info.
        * README: Ditto.
        * acinclude.m4: Change version number to 1.20.0.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * Makefile.in: Regenerated.
        * doc/aclocal.m4: Ditto.
        * doc/configure: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/configure: Ditto.
        * libc/libc.texinfo: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/configure: Ditto.
        * libm/libm.texinfo: Ditto.
        * libc/sys/linux/shared.ld: Add VERS_1.20

12 years agoCheck for warning flags without no- prefix
schwab [Mon, 19 Dec 2011 13:20:23 +0000 (13:20 +0000)]
Check for warning flags without no- prefix

config/:
* warnings.m4 (ACX_PROG_CC_WARNING_OPTS)
(ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Run the test without the
no- prefix.
libdecnumber/:
* configure: Regenerate.
libiberty/:
* configure: Regenerate.

12 years agolibgloss: bfin: add clear_cache_range support (for gcc)
Ralf Corsepius [Sun, 18 Dec 2011 18:41:20 +0000 (18:41 +0000)]
libgloss: bfin: add clear_cache_range support (for gcc)

12 years ago * configure: Regenerate.
ebotcazou [Sun, 18 Dec 2011 10:20:51 +0000 (10:20 +0000)]
* configure: Regenerate.
config/
* acx.m4 (Test for GNAT): Update comment and add quotes in final test.

12 years ago2011-12-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 15 Dec 2011 22:59:14 +0000 (22:59 +0000)]
2011-12-15  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.LIBGLOSS: Add GPL with exception license.

12 years ago2011-12-15 Konrad Eisele <konrad@gaisler.com>
Jeff Johnston [Thu, 15 Dec 2011 22:58:40 +0000 (22:58 +0000)]
2011-12-15  Konrad Eisele <konrad@gaisler.com>

        * configure.in: Add SPARC LEON support.
        * configure: Regenerated.
        * sparc_leon/asm-leon/amba.h, sparc_leon/asm-leon/asmmacro.h,
        sparc_leon/asm-leon/clock.h, sparc_leon/asm-leon/contextswitch.h,
        sparc_leon/asm-leon/elfmacro.h, sparc_leon/asm-leon/head.h,
        sparc_leon/asm-leon/irq.h, sparc_leon/asm-leon/jiffies.h,
        sparc_leon/asm-leon/lambapp.h, sparc_leon/asm-leon/lambapp_devs.h,
        sparc_leon/asm-leon/leon.h, sparc_leon/asm-leon/leon3.h,
        sparc_leon/asm-leon/leonbare_debug.h, sparc_leon/asm-leon/leonbare_kernel.h,
        sparc_leon/asm-leon/leonbare_kernel_queue.h, sparc_leon/asm-leon/leoncompat.h,
        sparc_leon/asm-leon/leondbg.h, sparc_leon/asm-leon/leonstack.h,
        sparc_leon/asm-leon/liblocks.h, sparc_leon/asm-leon/linkage.h,
        sparc_leon/asm-leon/param.h, sparc_leon/asm-leon/queue.h,
        sparc_leon/asm-leon/spinlock.h, sparc_leon/asm-leon/stack.h,
        sparc_leon/asm-leon/time.h, sparc_leon/asm-leon/timer.h,
        sparc_leon/asm-leon/types.h, sparc_leon/asm-leon/winmacros.h:
        New file.
        * sparc_leon/Makefile.in, sparc_leon/_exit.c,
        sparc_leon/amba.c, sparc_leon/amba_dbg.c,
        sparc_leon/amba_driver.c, sparc_leon/amba_scan.c,
        sparc_leon/asm-leon, sparc_leon/bdinit.S,
        sparc_leon/busscan.S, sparc_leon/cacheA.S,
        sparc_leon/catch_interrupt.c, sparc_leon/catch_interrupt_mvt.c,
        sparc_leon/catch_interrupt_pending.c, sparc_leon/catch_interrupt_svt.c,
        sparc_leon/configure.in,
        sparc_leon/console.c, sparc_leon/console_dbg.c,
        sparc_leon/console_init.c, sparc_leon/contextswitch.c,
        sparc_leon/contextswitch_asm.S, sparc_leon/crt0.S,
        sparc_leon/crti.S, sparc_leon/crtn.S,
        sparc_leon/etrap.S, sparc_leon/etrap_fast.S,
        sparc_leon/fpu.S, sparc_leon/gettimeofday.c,
        sparc_leon/initcalls.c, sparc_leon/io.c,
        sparc_leon/irqinstall.S, sparc_leon/irqtrap.S,
        sparc_leon/irqtrap_fast.S, sparc_leon/jiffies.c,
        sparc_leon/kernel.c, sparc_leon/kernel_context.S,
        sparc_leon/kernel_debug.c, sparc_leon/kernel_debug_var.c,
        sparc_leon/kernel_mm.c, sparc_leon/kernel_mutex.c,
        sparc_leon/kernel_queue.c, sparc_leon/kernel_sched.c,
        sparc_leon/kernel_thread.c, sparc_leon/lcpuinit.S,
        sparc_leon/locore.S, sparc_leon/locore_atexit.c,
        sparc_leon/locore_clean.S, sparc_leon/locore_mvt.S,
        sparc_leon/locore_mvt_reset.S, sparc_leon/locore_svt.S,
        sparc_leon/locore_svt_reset.S, sparc_leon/locore_svtdisp.S,
        sparc_leon/locore_var.S, sparc_leon/locore_var_svt.S,
        sparc_leon/mmu_asm.S, sparc_leon/mutex.c,
        sparc_leon/nocache.S, sparc_leon/pnpinit.c,
        sparc_leon/pnpinit_malloc.c, sparc_leon/pnpinit_simple.c,
        sparc_leon/regwin.S, sparc_leon/regwin_patch.c,
        sparc_leon/regwin_slow.S, sparc_leon/regwinflush.S,
        sparc_leon/rtc.c, sparc_leon/rtrap.S,
        sparc_leon/rtrap_fast.S, sparc_leon/stop.S,
        sparc_leon/timer.c, sparc_leon/times.c:
        New file
        * sparc_leon/configure: Regenerate

12 years ago2011-12-13 Richard Earnshaw <rearnsha@arm.com>
Jeff Johnston [Tue, 13 Dec 2011 22:45:11 +0000 (22:45 +0000)]
2011-12-13  Richard Earnshaw  <rearnsha@arm.com>
            Thomas Klein  <th.r.klein@web.de>

        * arm/crt0.S: Manually set the target architecture
        when compiling for Thumb1 on EABI targets.
        Avoid v6-only Thumb-1 MOV instruction.

12 years ago2011-12-13 Richard Earnshaw <rearnsha@arm.com>
Jeff Johnston [Tue, 13 Dec 2011 22:40:44 +0000 (22:40 +0000)]
2011-12-13  Richard Earnshaw  <rearnsha@arm.com>
            Thomas Klein  <th.r.klein@web.de>

        * libc/sys/arm/crt0.S: Manually set the target architecture
        when compiling for Thumb1 on EABI targets.
        Don't use SWI on M-profile cores.
        Avoid v6-only Thumb-1 MOV instruction.

12 years ago * libc/time/strftime.c (get_era_info): Fix off-by-one error in month
Corinna Vinschen [Mon, 12 Dec 2011 10:48:28 +0000 (10:48 +0000)]
* libc/time/strftime.c (get_era_info): Fix off-by-one error in month
calculation.

12 years ago * libc/iconv/Makefile.am (stmp-def): Use $(MAKE) rather than make.
Corinna Vinschen [Tue, 6 Dec 2011 10:45:04 +0000 (10:45 +0000)]
* libc/iconv/Makefile.am (stmp-def): Use $(MAKE) rather than make.
* libc/iconv/Makefile.in: Regenerate.

12 years ago[libgloss]
DJ Delorie [Tue, 29 Nov 2011 06:33:47 +0000 (06:33 +0000)]
[libgloss]
* configure.in: Add rl78.
* configure: Regenerate.
* rl78: New directory

[newlib]
* configure.host: Add rl78.
* libc/include/machine/ieeefp.h: Add rl78 support.
* libc/include/machine/setjmp.h: Add rl78 support.
* libc/machine/configure.in: Add rl78.
* libc/machine/rl78: New directory.

12 years ago2011-11-09 Roland McGrath <mcgrathr@google.com>
DJ Delorie [Wed, 9 Nov 2011 18:57:28 +0000 (18:57 +0000)]
2011-11-09  Roland McGrath  <mcgrathr@google.com>
* configure.ac: Add tool checks for READELF and READELF_FOR_TARGET.
* configure: Rebuild.
* Makefile.def (flags_to_pass): Add READELF_FOR_TARGET.
* Makefile.tpl (READELF, READELF_FOR_TARGET): New variables.
(HOST_EXPORTS): Add READELF, READELF_FOR_TARGET.
(BASE_FLAGS_TO_PASS): Add READELF_FOR_TARGET.
(BASE_TARGET_EXPORTS, EXTRA_HOST_FLAGS, EXTRA_TARGET_FLAGS):
Add READELF.
* Makefile.in: Rebuild.

12 years agoMerge libitm changes to configure.ac from gcc master.
rth [Tue, 8 Nov 2011 18:23:33 +0000 (18:23 +0000)]
Merge libitm changes to configure.ac from gcc master.

12 years ago * libnosys/Makefile.in (install): Use INSTALL_DATA.
Corinna Vinschen [Tue, 8 Nov 2011 15:56:49 +0000 (15:56 +0000)]
* libnosys/Makefile.in (install): Use INSTALL_DATA.

12 years ago * libc/iconv/ccs/Makefile.am: Add missing backslash.
Corinna Vinschen [Tue, 8 Nov 2011 15:46:41 +0000 (15:46 +0000)]
* libc/iconv/ccs/Makefile.am: Add missing backslash.
* libc/iconv/ccs/Makefile.in: Regenerate.

12 years ago toplevel:
ro [Wed, 2 Nov 2011 15:23:36 +0000 (15:23 +0000)]
toplevel:
* Makefile.tpl (EXTRA_GCC_FLAGS): Remove LIBGCC2_CFLAGS,
LIBGCC2_DEBUG_CFLAGS, LIBGCC2_INCLUDES.
* Makefile.in: Regenerate.

config:
* mh-interix (LIBGCC2_DEBUG_CFLAGS): Remove.

12 years ago[.]
DJ Delorie [Wed, 2 Nov 2011 03:08:51 +0000 (03:08 +0000)]
[.]
* configure.ac (rl78-*-*) New case.
* configure: Regenerate.

[bfd]
* Makefile.am (ALL_MACHINES): Add cpu-rl78.lo.
(ALL_MACHINES_CFILES): Add cpu-rl78.c.
(BFD32_BACKENDS): Add elf32-rl78.lo.
(BFD32_BACKENDS_CFILES): Add elf32-rl78.c.
(Makefile.in): Regenerate.
* archures.c (bfd_architecture): Define bfd_arch_rl78.
(bfd_archures_list): Add bfd_rl78_arch.
* config.bfd: Add rl78-*-elf.
* configure.in: Add bfd_elf32_rl78_vec.
* reloc.c (bfd_reloc_code_type): Add BFD_RELOC_RL78_* relocations.
* targets.c (bfd_target_vector): Add bfd_elf32_rl78_vec.
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* libbfd.h: Regenerate.
* cpu-rl78.c: New file.
* elf32-rl78.c: New file.

[binutils]
* readelf.c: Include elf/rl78.h
(guess_is_rela): Handle EM_RL78.
(dump_relocations): Likewise.
(get_machine_name): Likewise.
(is_32bit_abs_reloc): Likewise.
* NEWS: Mention addition of RL78 support.
* MAINTAINERS: Add myself as RL78 port maintainer.

[gas]
* Makefile.am (TARGET_CPU_CFILES): Add tc-rl78.c.
(TARGET_CPU_HFILES): Add rc-rl78.h.
(EXTRA_DIST): Add rl78-parse.c and rl78-parse.y.
(rl78-parse.c, rl78-parse.h, rl78-parse.o, rl78-defs.h): New rules.
* Makefile.in: Regenerate.
* configure.in: Add rl78 case.
* configure: Regenerate.
* configure.tgt: Add rl78 case.
* config/rl78-defs.h: New file.
* config/rl78-parse.y: New file.
* config/tc-rl78.c: New file.
* config/tc-rl78.h: New file.
* NEWS: Add Renesas RL78.

* doc/Makefile.am (c-rl78.texi): New.
* doc/Makefile.in: Likewise.
* doc/all.texi: Enable it.
* doc/as.texi: Add it.

[include]
* dis-asm.h (print_insn_rl78): Declare.

[include/elf]
* common.h (EM_RL78, EM_78K0R): New.
* rl78.h: New.

[include/opcode]
* rl78.h: New file.

[ld]
* Makefile.am (ALL_EMULATION_SOURCES): Add eelf32rl78.c.
(+eelf32rl78.c): New rule.
* Makefile.in: Regenerate.
* configure.tgt: Add rl78-*-* case.
* emulparams/elf32rl78.sh: New file.
* NEWS: Mention addition of Renesas RL78 support.

[opcodes]
* Makefile.am (TARGET_LIBOPCODES_CFILES): Add rl78-decode.c and
rl78-dis.c.
(MAINTAINERCLEANFILES): Add rl78-decode.c.
(rl78-decode.c): New rule, built from rl78-decode.opc and opc2c.
* Makefile.in: Regenerate.
* configure.in: Add bfd_rl78_arch case.
* configure: Regenerate.
* disassemble.c: Define ARCH_rl78.
(disassembler): Add ARCH_rl78 case.
* rl78-decode.c: New file.
* rl78-decode.opc: New file.
* rl78-dis.c: New file.

12 years ago* config.sub: Update to version 2011-10-29 (added rl78)
DJ Delorie [Wed, 2 Nov 2011 00:56:53 +0000 (00:56 +0000)]
* config.sub: Update to version 2011-10-29 (added rl78)

12 years ago * config.sub: Import these changes from the config project:
Nick Clifton [Thu, 27 Oct 2011 09:45:24 +0000 (09:45 +0000)]
* config.sub: Import these changes from the config project:

2011-10-08  Joern Rennecke <joern.rennecke@embecosm.com>
    Ben Elliston  <bje@gnu.org>

* config.sub (epiphany): New.

2011-09-09  Linas Vepstas  <linasvepstas@gmail.com>
    Ben Elliston  <bje@gnu.org>

        * config.sub (hexagon, hexagon-*): New.

2011-08-23  Roland McGrath  <mcgrathr@google.com>

* config.sub: Rename 32eb to be32, 32el to le32, 64el to le64, and
64eb to be64.

2011-08-16  Roland McGrath  <mcgrathr@google.com>

* config.sub (32eb, 32el, 64eb, 64el): New (pseudo-)CPUs.
(nacl): Grok as alias for 32el-unknown-nacl.