add preliminary support for musl
[openwrt/openwrt.git] / toolchain / gdb / patches / 200-linux_musl.patch
1 diff -urN gdb-linaro-7.5-2012.09/config.sub gdb-linaro-7.5-2012.09.new/config.sub
2 --- gdb-linaro-7.5-2012.09/config.sub 2012-09-13 16:01:23.000000000 +0200
3 +++ gdb-linaro-7.5-2012.09.new/config.sub 2012-11-21 18:19:43.516916352 +0100
4 @@ -126,7 +126,8 @@
5 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
6 knetbsd*-gnu* | netbsd*-gnu* | \
7 kopensolaris*-gnu* | \
8 - storm-chaos* | os2-emx* | rtmk-nova*)
9 + storm-chaos* | os2-emx* | rtmk-nova* | \
10 + linux-musl*)
11 os=-$maybe_os
12 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
13 ;;
14 @@ -1360,7 +1361,7 @@
15 | -chorusos* | -chorusrdb* | -cegcc* \
16 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
17 | -mingw32* | -linux-gnu* | -linux-android* \
18 - | -linux-newlib* | -linux-uclibc* \
19 + | -linux-newlib* | -linux-uclibc* | -linux-musl* \
20 | -uxpv* | -beos* | -mpeix* | -udk* \
21 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
22 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \