annotate sources/targets/sparc @ 1478:c1d26568dbb8

Fix sparc dynamic linker.
author Rob Landley <rob@landley.net>
date Tue, 27 Dec 2011 08:59:51 -0600
parents 0b1022dc9a36
children 19a363f60409
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1400
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
1 DESCRIPTION="
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
2 32-bit sparc
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
3
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
4 Sparc was a risc processor design Sun Microsystems came up with to replace
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
5 m68k in their Unix workstations. With the advent of OpenSolaris and
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
6 x86-64, Fujitsu mainframes may now use more of it than they do.
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
7
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
8 This has been broken for a couple years, and nobody's bothered to fix it.
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
9 "
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
10
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
11 # Originally contributed by Bertl.
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
12
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
13 KARCH=sparc
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
14 KERNEL_PATH=arch/${KARCH}/boot/image
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
15 BINUTILS_FLAGS=
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
16 GCC_FLAGS=
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
17 QEMU_TEST=$KARCH
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
18
1478
c1d26568dbb8 Fix sparc dynamic linker.
Rob Landley <rob@landley.net>
parents: 1400
diff changeset
19 #BUILD_STATIC=all
1400
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
20
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
21 ROOT=sda
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
22 CONSOLE=ttyS0
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
23
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
24 UCLIBC_CONFIG="
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
25 TARGET_sparc=y
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
26 UCLIBC_HAS_FPU=y
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
27 FORCE_SHAREABLE_TEXT_SEGMENTS=y
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
28 "
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
29
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
30 LINUX_CONFIG="
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
31 CONFIG_SCSI_SUNESP=y
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
32 CONFIG_SUNLANCE=y
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
33 CONFIG_SERIAL_SUNZILOG=y
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
34 CONFIG_SERIAL_SUNZILOG_CONSOLE=y
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
35 CONFIG_SUN_MOSTEK_RTC=y
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
36 "
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
37
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
38 #CONFIG_UNWIND_INFO
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
39 #CONFIG_FORCED_INLINING
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
40 #CONFIG_RTC_HCTOSYS
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
41
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
42 emulator_command()
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
43 {
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
44 echo qemu-system-sparc $(qemu_defaults "$@")
0b1022dc9a36 Remove one more "settings" dependency from functions.sh, and convert lots of architecture configurations from directory to file.
Rob Landley <rob@landley.net>
parents:
diff changeset
45 }