Searched hist:"1 f2bfbd00e466ff3489b2ca5cc75b1cccd14c123" (Results 1 – 4 of 4) sorted by relevance
| /linux/scripts/ |
| H A D | link-vmlinux.sh | 6895f97e15895625e03c95df904d92befdac7118 Thu Sep 06 21:11:25 UTC 2012 James Hogan <james@albanarts.com> kbuild: add symbol prefix arg to kallsyms
Commit 1f2bfbd00e466ff3489b2ca5cc75b1cccd14c123 ("kbuild: link of vmlinux moved to a script") introduced in v3.5-rc1 broke kallsyms on architectures which have symbol prefixes.
The --symbol-prefix argument used to be added to the KALLSYMS command line from the architecture Makefile, however this isn't picked up by the new scripts/link-vmlinux.sh. This resulted in symbols like kallsyms_addresses being added which weren't correctly overriding the weak symbols such as _kallsyms_addresses. These could then trigger BUG_ONs in kallsyms code.
This is fixed by removing the KALLSYMS addition from the architecture Makefile, and using CONFIG_SYMBOL_PREFIX in the link-vmlinux.sh script to determine whether to add the --symbol-prefix argument.
Signed-off-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: Bob Liu <lliubbo@gmail.com> 1f2bfbd00e466ff3489b2ca5cc75b1cccd14c123 Sat May 05 08:18:41 UTC 2012 Sam Ravnborg <sam@ravnborg.org> kbuild: link of vmlinux moved to a script
Move the final link of vmlinux to a script to improve readability and maintainability of the code.
The Makefile fragments used to link vmlinux has over the years seen far too many changes and the logic had become hard to follow.
As the process by nature is serialized there was nothing gained including this in the Makefile.
"um" has special link requirments - and the only way to handle this was to hard-code the linking of "um" in the script. This was better than trying to modularize it only for the benefit of "um" anyway.
The shell script has been improved after input from: Arnaud Lacombe <lacombar@gmail.com> Nick Bowler <nbowler@elliptictech.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Arnaud Lacombe <lacombar@gmail.com> Cc: Nick Bowler <nbowler@elliptictech.com> Cc: Richard Weinberger <richard@nod.at> Signed-off-by: Michal Marek <mmarek@suse.cz>
|
| /linux/arch/parisc/ |
| H A D | Makefile | 4c01acc01d77e8df5727247aa5ef5912c00256bf Tue Jun 05 04:54:09 UTC 2012 James Bottomley <JBottomley@Parallels.com> [PARISC] fix code to find libgcc
Sam broke this with
commit 1f2bfbd00e466ff3489b2ca5cc75b1cccd14c123 Author: Sam Ravnborg <sam@ravnborg.org> Date: Sat May 5 10:18:41 2012 +0200
kbuild: link of vmlinux moved to a script
But we should be deriving the location of libgcc in the same way as all the other archs, so fix by adding a LIBGCC variable which is evaluated in the makefile
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
| /linux/arch/um/ |
| H A D | Makefile | 1f2bfbd00e466ff3489b2ca5cc75b1cccd14c123 Sat May 05 08:18:41 UTC 2012 Sam Ravnborg <sam@ravnborg.org> kbuild: link of vmlinux moved to a script
Move the final link of vmlinux to a script to improve readability and maintainability of the code.
The Makefile fragments used to link vmlinux has over the years seen far too many changes and the logic had become hard to follow.
As the process by nature is serialized there was nothing gained including this in the Makefile.
"um" has special link requirments - and the only way to handle this was to hard-code the linking of "um" in the script. This was better than trying to modularize it only for the benefit of "um" anyway.
The shell script has been improved after input from: Arnaud Lacombe <lacombar@gmail.com> Nick Bowler <nbowler@elliptictech.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Arnaud Lacombe <lacombar@gmail.com> Cc: Nick Bowler <nbowler@elliptictech.com> Cc: Richard Weinberger <richard@nod.at> Signed-off-by: Michal Marek <mmarek@suse.cz>
|
| /linux/ |
| H A D | Makefile | bd1ee804af8bdf2fd5131234330615f8aecbd9ed Mon Oct 29 11:23:02 UTC 2012 Pawel Moll <pawel.moll@arm.com> kbuild: Do not remove vmlinux when cleaning external module
Since commit 1f2bfbd00e466ff3489b2ca5cc75b1cccd14c123 "kbuild: link of vmlinux moved to a script" make clean with M=<dir> argument (so cleaning external module) removes vmlinux, System.map and couple of other files from the *main* kernel build directory! This not what was happening before and almost certainly not what one would expect.
This patch moves makes the clean target of the script called only when !KBUILD_EXTMOD.
Signed-off-by: Pawel Moll <pawel.moll@arm.com> Cc: stable@vger.kernel.org [v3.5+] Signed-off-by: Michal Marek <mmarek@suse.cz> 1f2bfbd00e466ff3489b2ca5cc75b1cccd14c123 Sat May 05 08:18:41 UTC 2012 Sam Ravnborg <sam@ravnborg.org> kbuild: link of vmlinux moved to a script
Move the final link of vmlinux to a script to improve readability and maintainability of the code.
The Makefile fragments used to link vmlinux has over the years seen far too many changes and the logic had become hard to follow.
As the process by nature is serialized there was nothing gained including this in the Makefile.
"um" has special link requirments - and the only way to handle this was to hard-code the linking of "um" in the script. This was better than trying to modularize it only for the benefit of "um" anyway.
The shell script has been improved after input from: Arnaud Lacombe <lacombar@gmail.com> Nick Bowler <nbowler@elliptictech.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Arnaud Lacombe <lacombar@gmail.com> Cc: Nick Bowler <nbowler@elliptictech.com> Cc: Richard Weinberger <richard@nod.at> Signed-off-by: Michal Marek <mmarek@suse.cz>
|