URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc
- from Rev 213 to Rev 214
- ↔ Reverse comparison
Rev 213 → Rev 214
/trunk/gnu-src/newlib-1.18.0/newlib/ChangeLog
1,5 → 1,12
2010-07-07 Jeremy Bennett <jeremy.bennett@embecosm.com> |
|
* testsuite/lib/newlibprocs.exp: Renamed from newlib.exp, since |
DejaGNU does not like loading libraries with the same name as the |
tool. |
* testsuite/lib/passfail.exp: Loads newlibprocs.exp. |
|
2010-07-07 Jeremy Bennett <jeremy.bennett@embecosm.com> |
|
* libc/machine/or32/setjmp.S: Rewritten - old code could never |
have worked. |
* libc/machine/or32/bits: Deleted. |
55,7 → 62,7
2009-12-17 Ralf Corsépius <ralf.corsepius@rtems.org> |
|
* libc/include/machine/ieeefp.h: Rework __IEEE_*_ENDIAN handling. |
* libc/machine/arm/machine/endian.h: Remove (Conflicts with |
* libc/machine/arm/machine/endian.h: Remove (Conflicts with |
libc/include/machine/endian.h) |
|
2009-12-17 Ralf Corsépius <ralf.corsepius@rtems.org> |
64,7 → 71,7
|
2009-12-17 Ralf Corsepius <ralf.corsepius@rtems.org> |
|
* libc/include/pthread.h: Add pthread_atfork, pthread_rwlock_unlock |
* libc/include/pthread.h: Add pthread_atfork, pthread_rwlock_unlock |
* libc/include/sys/stat.h: Use struct timespec st_*tim, |
blksize_t st_blksize, blkcnt_t st_blocks. |
Add st_*time compatibility macros. |
/trunk/gnu-src/newlib-1.18.0/newlib/testsuite/lib/newlibprocs.exp
0,0 → 1,106
# Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved. |
# |
# Permission to use, copy, modify, and distribute this software |
# is freely granted, provided that this notice is preserved. |
# |
|
send_user "Loaded newlib.exp\n" |
|
# flags.exp overrides the dejagnu versions of libgloss_link_flags, |
# newlib_link_flags, and newlib_include_flags. |
load_lib flags.exp |
|
proc newlib_version { } { |
global tool_version |
|
verbose "In newlib version...\n" |
|
return $tool_version |
} |
|
set newlib_initialized 0 |
|
proc newlib_init { args } { |
global gluefile wrap_flags |
global newlib_initialized |
global target_info |
# These values are initialized in the local site.exp file. |
global srcdir objdir tmpdir |
global host_triplet target_triplet |
global old_ld_library_path |
|
verbose "In newlib_init...\n" |
|
if { $newlib_initialized == 1 } { return; } |
|
if {[target_info needs_status_wrapper] != "" && \ |
[target_info needs_status_wrapper] != "0" && \ |
![info exists gluefile]} { |
set gluefile ${tmpdir}/testglue.o; |
set result [build_wrapper $gluefile]; |
if { $result != "" } { |
set gluefile [lindex $result 0]; |
set wrap_flags [lindex $result 1]; |
} else { |
unset gluefile |
} |
} |
|
if [string match $host_triplet $target_triplet] then { |
if [string match "i686-pc-linux-gnu" $host_triplet] then { |
set old_ld_library_path [getenv LD_LIBRARY_PATH] |
setenv LD_LIBRARY_PATH "$objdir/.libs" |
} |
} |
} |
|
proc newlib_target_compile { source dest type options } { |
global gluefile wrap_flags |
global srcdir objdir |
global host_triplet target_triplet |
|
verbose "In newlib_target_compile...\n" |
|
lappend options "libs=-I$srcdir/include" |
verbose "srcdir is $srcdir" |
|
if {[target_info needs_status_wrapper] != "" && \ |
[target_info needs_status_wrapper] != "0" && \ |
[info exists gluefile] } { |
lappend options "libs=$gluefile" |
lappend options "ldflags=$wrap_flags" |
} |
|
if [string match $host_triplet $target_triplet] then { |
if [string match "i686-pc-linux-gnu" $host_triplet] then { |
lappend options "libs=$objdir/crt0.o -lc -lgcc" |
lappend options "ldflags=-nostdlib -L$objdir/.libs [newlib_include_flags]" |
} |
} |
|
return [target_compile $source $dest $type $options] |
} |
|
proc newlib_finish { } { |
global old_ld_library_path |
global host_triplet target_triplet |
|
verbose "In newlib_finish...\n" |
|
if [string match $host_triplet $target_triplet] then { |
if [string match "i686-pc-linux-gnu" $host_triplet] then { |
setenv LD_LIBRARY_PATH "$old_ld_library_path" |
} |
} |
} |
|
proc newlib_exit { } { |
global gluefile; |
|
verbose "In newlib_exit...\n" |
|
if [info exists gluefile] { |
file_on_build delete $gluefile; |
unset gluefile; |
} |
} |
/trunk/gnu-src/newlib-1.18.0/newlib/testsuite/lib/passfail.exp
4,6 → 4,8
# is freely granted, provided that this notice is preserved. |
# |
|
load_lib newlibprocs.exp |
|
# newlib_pass_fail_all compiles and runs all the source files in the |
# test directory. If flag is -x, then the sources whose basenames are |
# listed in exclude_list are not compiled and run. |