Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / contrib / binutils / FREEBSD-upgrade
1 $FreeBSD: src/contrib/binutils/FREEBSD-upgrade,v 1.2.2.5 2002/09/01 23:43:30 obrien Exp $
2 $DragonFly: src/contrib/binutils/Attic/FREEBSD-upgrade,v 1.2 2003/06/17 04:23:58 dillon Exp $
3
4 To get a copy of the Binutils source from the Sourceware CVS repository
5 this command line was used:
6
7         cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src login
8         #       password is "anoncvs"
9
10         cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src \
11                 export -r binutils-2_12-branch -l src
12         cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src \
13                 export -r binutils-2_12-branch \
14                 src/bfd src/binutils src/config src/etc src/gas src/include \
15                 src/ld src/libiberty src/opcodes
16
17
18 This corresponds to the binutils-2_12-branch at 21-Feb-2002 14:10 PST.
19
20 To strip down a new version of GNU binutils for import (starting with a
21 checked out copy from the Sourceware anoncvs repo), prune files like this:
22
23         for F in `cat FREEBSD-deletelist`
24                 do find . -name "$F" -exec rm -rfv {} \; ;
25         done
26
27 This command should be repeated until no files are shown as being deleted.
28 (do not eliminate the *z8* files.  They're needed because of a stupid
29 hard-coded configure script in the opcodes subdirectory)
30
31 We need a complete include/elf directory -- even with bits for CPU's we
32 do not support
33
34         cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src \
35                 export -r binutils-2_12-branch src/include/elf
36
37
38 If you decide to bring in more of the files, import them -- do not use
39 ``cvs add''.  And please remember to adjust the contents of "FREEBSD-Xlist"
40 and "FREEBSD-deletelist" so that it reflects what is really imported from
41 the vendor.
42
43 The vendor import was done by:
44
45         cvs import src/contrib/binutils FSF binutils_2_12_anoncvs_20020221
46
47
48 Note that many of the files generated by GNU configure are present pre-built
49 in the "src/gnu/usr.bin/binutils" tree.  These can be regenerated for a new
50 version of binutils by running the "update.sh" script in that directory.
51
52 When upgrading to a new version, you also need to update the VERSION
53 definition in "src/gnu/usr.bin/binutils/Makefile.inc0".
54
55 Also, verify that all applicable vendor changes to
56 contrib/binutils/ld/genscripts.sh are propogated to
57 src/gnu/usr.bin/binutils/ld/genscripts.sh.