2009-08-31functions: do not over-detect error when patching
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 31 Aug 2009 11:57:13 +0200] rev 1506
functions: do not over-detect error when patching

2009-08-30Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 20:07:39 +0200] rev 1505
Merge.

2009-08-30tools wrapper: fix error due to unused argument
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 19:58:41 +0200] rev 1504
tools wrapper: fix error due to unused argument

In the C wrapper, the argc argument is not used, causing an error
(as we treat warnings as errors). Use a dummy allocation to get
rid of the warning.

2009-08-30tools wrapper: correctly install the C wrapper
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 19:54:51 +0200] rev 1503
tools wrapper: correctly install the C wrapper

When building the C wrapper, specify the source file to be compiled.

2009-08-30config: move the "build shared libraries" option to the OS menu
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 16:54:30 +0200] rev 1502
config: move the "build shared libraries" option to the OS menu

The "Build shared libraries" config option is dependant on the type of
"Target OS".

Moving this options to the "Target OS" sub-menu is also better in the user
perspective: he/she no longer needs to go back and forth to see if he/she
missed any option.

2009-08-30config: make "Build shared libraries" depend on KERNEL_SUPPORTS_SHARED_LIBS
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 16:50:30 +0200] rev 1501
config: make "Build shared libraries" depend on KERNEL_SUPPORTS_SHARED_LIBS

Now that all kernels that support shared libraries select the correct config
option, we can change the dependency rules of SHARED_LIBS accordingly.

2009-08-30config: Linux kernel selectes shared libraries support
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 16:47:51 +0200] rev 1500
config: Linux kernel selectes shared libraries support

The Linux kernel supports using shared libraries, so prompt the user.

2009-08-30config: introduce the KERNEL_SUPPORTS_SHARED_LIBS silent config option
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 16:44:59 +0200] rev 1499
config: introduce the KERNEL_SUPPORTS_SHARED_LIBS silent config option

The target OSes will be able to select this option if they support shared
libraries, instead of having "Build shared libaries" depend on each OS.

2009-08-30config: swap the debug and tools sub-menus
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 19:34:08 +0200] rev 1498
config: swap the debug and tools sub-menus

ltrace, in the debug sub-menu, selects libelf, in the tools sub-menu.
Inverse the order of the two sub-menus, so that the user does not have
to go back and forth between the two sub-menus.

2009-08-30config: move down companion libraries sub-menu
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 19:33:48 +0200] rev 1497
config: move down companion libraries sub-menu

Move the companion libraries sub-menu down the main menu.
That way, the user does not need to go back and forth in the menu
to change options set by the different components that select the
companion libraries (binutils, gcc, gdb).