1$FreeBSD$ 2 3To get a copy of the Binutils source from the Sourceware CVS repository 4this 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 17This corresponds to the binutils-2_12-branch at 21-Feb-2002 14:10 PST. 18 19To strip down a new version of GNU binutils for import (starting with a 20checked 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 26This 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 28hard-coded configure script in the opcodes subdirectory) 29 30We need a complete include/elf directory -- even with bits for CPU's we 31do 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 37If 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" 39and "FREEBSD-deletelist" so that it reflects what is really imported from 40the vendor. 41 42The vendor import was done by: 43 44 cvs import src/contrib/binutils FSF binutils_2_12_anoncvs_20020221 45 46 47Note that many of the files generated by GNU configure are present pre-built 48in the "src/gnu/usr.bin/binutils" tree. These can be regenerated for a new 49version of binutils by running the "update.sh" script in that directory. 50 51When upgrading to a new version, you also need to update the VERSION 52definition in "src/gnu/usr.bin/binutils/Makefile.inc0". 53 54Also, verify that all applicable vendor changes to 55contrib/binutils/ld/genscripts.sh are propogated to 56src/gnu/usr.bin/binutils/ld/genscripts.sh. 57