mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Force inlining of
add_part to workaround compiler bug.
This commit is contained in:
1 parent
30dd48c2b0
commit
dc71319397
2 files changed
+10
-3
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Force inlining of
|
||||||
|
add_part to workaround compiler bug.
|
||||||
|
|
||||||
2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* include/grub/kernel.h (FOR_MODULES): Preserve alignment invariants.
|
* include/grub/kernel.h (FOR_MODULES): Preserve alignment invariants.
|
||||||
|
|||||||
@@ -533,10 +533,12 @@ grub_iso9660_iterate_dir (grub_fshelp_node_t dir,
|
|||||||
grub_off_t len;
|
grub_off_t len;
|
||||||
char *symlink = 0;
|
char *symlink = 0;
|
||||||
|
|
||||||
auto void add_part (const char *part, int len);
|
|
||||||
|
|
||||||
/* Extend the symlink. */
|
/* Extend the symlink. */
|
||||||
void add_part (const char *part, int len2)
|
auto inline void __attribute__ ((always_inline)) add_part (const char *part,
|
||||||
|
int len2);
|
||||||
|
|
||||||
|
auto inline void __attribute__ ((always_inline)) add_part (const char *part,
|
||||||
|
int len2)
|
||||||
{
|
{
|
||||||
int size = symlink ? grub_strlen (symlink) : 0;
|
int size = symlink ? grub_strlen (symlink) : 0;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user