OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 513 to Rev 514
    Reverse comparison

Rev 513 → Rev 514

/openrisc/trunk/gnu-src/gcc-4.5.1/gcc/gcc.c
5868,7 → 5868,12
if (soft_matched_part)
{
do_spec_1 (soft_matched_part, 1, NULL);
do_spec_1 (" ", 0, NULL);
/* ??? Emitting a space after soft_matched_part gets in
is undocumented and gets in the way of doing useful
file name pasting; but for backward compatibility, we
keep this behaviour when the next character is '}'. */
if (p[1] == '}')
do_spec_1 (" ", 0, NULL);
}
else
/* Catch the case where a spec string contains something like
/openrisc/trunk/gnu-src/gcc-4.5.1/gcc/testsuite/gcc.dg/c99-stdint-1.c
9,7 → 9,7
version). */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1999 -pedantic-errors -fhosted" } */
/* { dg-xfail-if "" { ! wchar } { "*" } { "" } } */
/* { dg-skip-if "" { ! wchar } { "*" } { "" } } */
 
#include <limits.h>
#include <stdint.h>
/openrisc/trunk/gnu-src/gcc-4.5.1/gcc/testsuite/gcc.dg/c99-stdint-2.c
3,7 → 3,8
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1999 -pedantic-errors -ffreestanding" } */
/* { dg-xfail-if "ptrdiff size is 16bits" { avr-*-* } } */
/* { dg-xfail-if "" { ! wchar } { "*" } { "" } } */
/* This test uses wchar macros. However, even if the library doesn't support
wchar, the gcc header supplied for -ffrestanding does. */
/* The test is that there are no diagnostics, so just include the
hosted version. */
#include "c99-stdint-1.c"
/openrisc/trunk/gnu-src/gcc-4.5.1/gcc/testsuite/lib/profopt.exp
214,7 → 214,7
#
proc profopt-execute { src } {
global srcdir tmpdir
global prof_option_list
global prof_option_list additional_sources
global tool profile_option feedback_option prof_ext perf_ext perf_delta
global generate_final_code use_final_code
global verbose
270,6 → 270,19
verbose "$src not supported on this target, skipping it" 3
return
}
# $additional_sources is cleared by dg-additional-files-options,
# thus we must save the information from there now in order to
# be able to delete / upload the associated profiling result files.
set sources $base
foreach source "$additional_sources" {
set source [file tail $source]
set source [file rootname $source]
lappend sources $source
# Remove old profiling and performance data files.
foreach ext $prof_ext {
remote_file target delete $tmpdir/$source.$ext
}
}
 
set extra_options [dg-additional-files-options "" "$src"]
 
277,7 → 290,9
 
set options "$extra_options"
lappend options "additional_flags=$option $extra_flags $profile_option"
set optstr "$option $profile_option"
# for remote targets, having an absolute profile dir from the host
# causes grief.
set optstr "$option $profile_option -fprofile-dir=."
set comp_output [${tool}_target_compile "$src" "$execname1" executable $options]
if ![${tool}_check_compile "$testcase compilation" $optstr $execname1 $comp_output] {
unresolved "$testcase execution, $optstr"
294,12 → 309,14
# Make sure the profile data was generated, and fail if not.
if { $status == "pass" } {
foreach ext $prof_ext {
remote_upload target $tmpdir/$base.$ext
set files [glob -nocomplain $base.$ext]
if { $files == "" } {
set status "fail"
set missing_file 1
fail "$testcase execution: file $base.$ext does not exist, $option $profile_option"
foreach source "$sources" {
remote_upload target $tmpdir/$source.$ext
set files [glob -nocomplain $source.$ext]
if { $files == "" } {
set status "fail"
set missing_file 1
fail "$testcase execution: file $source.$ext does not exist, $option $profile_option"
}
}
}
}
346,7 → 363,9
 
# Remove the profiling data files.
foreach ext $prof_ext {
remote_file target delete $tmpdir/$base.$ext
foreach source "$sources" {
remote_file target delete $tmpdir/$source.$ext
}
}
 
if { $status != "pass" } {
/openrisc/trunk/gnu-src/gcc-4.5.1/gcc/testsuite/lib/target-supports.exp
378,7 → 378,8
# Some targets don't support gc-sections despite whatever's
# advertised by ld's options.
if { [istarget alpha*-*-*]
|| [istarget ia64-*-*] } {
|| [istarget ia64-*-*]
|| [istarget or32-*-*] } {
set gc_sections_available_saved 0
return 0
}
/openrisc/trunk/gnu-src/gcc-4.5.1/gcc/testsuite/ChangeLog.or32
1,3 → 1,17
2011-02-25 Joern Rennecke <joern.rennecke@embecosm.com>
 
* gcc.dg/c99-stdint-2.c: Don't xfail for wchar.
 
* lib/profopt.exp (profopt-execute): Add -fprofile-dir=. to optstr.
Manage profiling result files for $additional_sources.
 
2011-02-24 Joern Rennecke <joern.rennecke@embecosm.com>
 
* gcc.dg/c99-stdint-1.c: Use dg-skip-if instead of dg-xfail-if.
 
* lib/target-supports.exp (check_gc_sections_available):
Return 0 for or32.
 
2011-02-04 Joern Rennecke <joern.rennecke@embecosm.com>
 
* lib/target-supports.exp (check_missing_uclibc_feature):
/openrisc/trunk/gnu-src/gcc-4.5.1/gcc/BASE-VER
1,2 → 1,2
4.5.1-or32-1.0rc1
4.5.1-or32-1.0rc3
 
/openrisc/trunk/gnu-src/gcc-4.5.1/gcc/ChangeLog.or32
1,3 → 1,14
2011-04-09 Jeremy Bennett <jeremy.bennett@embecosm.com>
 
* BASE_VER: Updated for gcc-4.5.1-or32-1.0rc3.
 
2011-02-17 Joern Rennecke <joern.rennecke@embecosm.com>
 
* gcc.c (do_spec_1) <%*>: Don't append a space unless the next
character is '}'.
* config/or32/or32.h (STARTFILE_SPEC): For mor32-newlib-*,
add crtparam-%*.o.
 
2011-02-15 Joern Rennecke <joern.rennecke@embecosm.com>
 
* config/or32/or32.md (frame_alloc_fp): New pattern.
/openrisc/trunk/gnu-src/gcc-4.5.1/gcc/config/or32/or32.h
53,8 → 53,11
 
/* Make sure we pick up the crti.o, crtbegin.o, crtend.o and crtn.o files. */
#undef STARTFILE_SPEC
#define STARTFILE_SPEC "%{!shared:%{mnewlib:%(target_prefix)/lib/crt0.o} \
%{!mnewlib:crt0.o%s} crti.o%s crtbegin.o%s}"
#define STARTFILE_SPEC \
"%{!shared:"\
"%{mnewlib*:%(target_prefix)/lib/crt0.o} "\
"%{mnewlib-*:%(target_prefix)/lib/crtparam-%*.o} "\
"%{!mnewlib*:crt0.o%s} crti.o%s crtbegin.o%s}"
 
#undef ENDFILE_SPEC
#define ENDFILE_SPEC "crtend.o%s crtn.o%s"
65,18 → 68,16
 
/* Override previous definitions (linux.h). Newlib doesn't have a profiling
version of the library, but it does have a debugging version (libg.a) */
 
#undef LIB_SPEC
#define LIB_SPEC "%{!mnewlib:" \
"%{pthread:" \
"--whole-archive -lpthread --no-whole-archive} " \
"%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}} \
%{mnewlib:%{!g:-lc -lor32 -lboard -u free -lc} \
%{g:-lg -lor32 -lboard -u free -lg} \
%{mboard=*:-L%(target_prefix)/lib/boards/%*} \
%{!mboard=*:-L%(target_prefix)/lib/boards/or1ksim}}"
#define LIB_SPEC "%{!mnewlib:" \
"%{pthread:" \
"--whole-archive -lpthread --no-whole-archive} " \
"%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}} \
%{mnewlib:%{!g:-lc -lor32 -lboard -u free -lc} \
%{g:-lg -lor32 -lboard -u free -lg} \
%{mboard=*:-L%(target_prefix)/lib/boards/%*} \
%{!mboard=*:-L%(target_prefix)/lib/boards/or1ksim}}"
 
 
#define TARGET_VERSION fprintf (stderr, " (OpenRISC 1000) Mask 0x%x", MASK_HARD_MUL);
 
/* Run-time compilation parameters selecting different hardware subsets. */
/openrisc/trunk/gnu-src/gcc-4.5.1/libstdc++-v3/ChangeLog.or32
1,3 → 1,13
2011-02-25 Joern Rennecke <joern.rennecke@embecosm.com>
 
* testsuite/21_strings/basic_string/requirements/typedefs.cc:
xfail for ! wchar.
 
* testsuite/18_support/numeric_limits/lowest.cc: Use dg-do run / xfail
to indicate ! wchar expected failure is for running.
 
* testsuite/ext/profile/mh.cc: No supported for uclibc.
 
2011-02-04 Joern Rennecke <joern.rennecke@embecosm.com>
 
* testsuite/18_support/numeric_limits/lowest.cc: xfail for ! wchar.
/openrisc/trunk/gnu-src/gcc-4.5.1/libstdc++-v3/testsuite/18_support/numeric_limits/lowest.cc
1,6 → 1,6
// { dg-options "-std=gnu++0x" }
// { dg-add-options ieee }
// { dg-xfail-if "" { ! wchar } { "*" } { "" } }
// { dg-do run { xfail { ! wchar } } }
 
// 2010-02-25 Ed Smith-Rowland
 
/openrisc/trunk/gnu-src/gcc-4.5.1/libstdc++-v3/testsuite/21_strings/basic_string/requirements/typedefs.cc
1,5 → 1,6
// { dg-options "-std=gnu++0x" }
// { dg-do compile }
// { dg-xfail-if "" { ! wchar } { "*" } { "" } }
 
// Copyright (C) 2009 Free Software Foundation, Inc.
//
/openrisc/trunk/gnu-src/gcc-4.5.1/libstdc++-v3/testsuite/ext/profile/mh.cc
1,5 → 1,5
// { dg-options "-D_GLIBCXX_PROFILE" }
// { dg-do compile { target *-*-linux* } }
// { dg-do compile { target { { *-*-linux* } && { ! { uclibc } } } } }
 
// -*- C++ -*-
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.