* gdb.asm/asm-source.exp: Update copyright year. Link statically

for *-*-solaris2*.
This commit is contained in:
Mark Kettenis 2004-01-01 01:13:42 +00:00
parent 08c1856bf0
commit 7b79a9d72e
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2004-01-01 Mark Kettenis <kettenis@gnu.org>
* gdb.asm/asm-source.exp: Update copyright year. Link statically
for *-*-solaris2*.
2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Rewrite. Clean up patterns to match

View File

@ -1,4 +1,4 @@
# Copyright 1998, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
# Copyright 1998, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -118,13 +118,17 @@ if { "${asm-arch}" == "" } {
gdb_suppress_entire_file "Assembly source test -- not implemented for this target."
}
# On FreeBSD and NetBSD, crt1.o the final link will fail because of
# On FreeBSD and NetBSD, the final link will fail because of
# unresolved symbols. It turns out that libc.so references symbols
# that are normally provided by crt1.o, which isn't linked in since we
# specify -nostartfiles. Using -nostdlib doesn't help since
# target_compile automatically adds -lm. Linking statically avoids
# this mess.
if {[istarget "*-*-freebsd*"] || [istarget "*-*-netbsd*"]} then {
#
# On Solaris, linking dynamically results in a binary that dumps core.
#
if {[istarget "*-*-freebsd*"] || [istarget "*-*-netbsd*"]
|| [istarget "*-*-solaris2*"]} then {
append link-flags " -static"
}