Make list_push and list_remove functions rather than inline functions
to decrease size and avoid aliasing violations. * include/grub/list.h (grub_list_push): Move to ... * grub-core/kern/list.c (grub_list_push): ... here. Don't inline. * include/grub/list.h (grub_list_remove): Move to ... * grub-core/kern/list.c (grub_list_remove): ... here. Don't inline.
This commit is contained in:
parent
9d369087a9
commit
b00d7fb6c5
3 changed files with 33 additions and 20 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2012-02-22 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Make list_push and list_remove functions rather than inline functions
|
||||
to decrease size and avoid aliasing violations.
|
||||
|
||||
* include/grub/list.h (grub_list_push): Move to ...
|
||||
* grub-core/kern/list.c (grub_list_push): ... here. Don't inline.
|
||||
* include/grub/list.h (grub_list_remove): Move to ...
|
||||
* grub-core/kern/list.c (grub_list_remove): ... here. Don't inline.
|
||||
|
||||
2012-02-22 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* configure.ac: Disable for now -Wstack-protector, -Wunreachable-code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue