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