| ... | ... | @@ -41,6 +41,7 @@ pub fn buildCrtFile(comp: *Compilation, in_crt_file: CrtFile, prog_node: std.Pro |
| 41 | 41 | return comp.build_crt_file("crti", .Obj, .@"musl crti.o", prog_node, &files, .{ |
| 42 | 42 | .function_sections = true, |
| 43 | 43 | .data_sections = true, |
| 44 | .omit_frame_pointer = true, |
| 44 | 45 | .no_builtin = true, |
| 45 | 46 | }); |
| 46 | 47 | }, |
| ... | ... | @@ -57,6 +58,7 @@ pub fn buildCrtFile(comp: *Compilation, in_crt_file: CrtFile, prog_node: std.Pro |
| 57 | 58 | return comp.build_crt_file("crtn", .Obj, .@"musl crtn.o", prog_node, &files, .{ |
| 58 | 59 | .function_sections = true, |
| 59 | 60 | .data_sections = true, |
| 61 | .omit_frame_pointer = true, |
| 60 | 62 | .no_builtin = true, |
| 61 | 63 | }); |
| 62 | 64 | }, |
| ... | ... | @@ -76,6 +78,7 @@ pub fn buildCrtFile(comp: *Compilation, in_crt_file: CrtFile, prog_node: std.Pro |
| 76 | 78 | return comp.build_crt_file("crt1", .Obj, .@"musl crt1.o", prog_node, &files, .{ |
| 77 | 79 | .function_sections = true, |
| 78 | 80 | .data_sections = true, |
| 81 | .omit_frame_pointer = true, |
| 79 | 82 | .no_builtin = true, |
| 80 | 83 | }); |
| 81 | 84 | }, |
| ... | ... | @@ -95,6 +98,7 @@ pub fn buildCrtFile(comp: *Compilation, in_crt_file: CrtFile, prog_node: std.Pro |
| 95 | 98 | return comp.build_crt_file("rcrt1", .Obj, .@"musl rcrt1.o", prog_node, &files, .{ |
| 96 | 99 | .function_sections = true, |
| 97 | 100 | .data_sections = true, |
| 101 | .omit_frame_pointer = true, |
| 98 | 102 | .pic = true, |
| 99 | 103 | .no_builtin = true, |
| 100 | 104 | }); |
| ... | ... | @@ -115,6 +119,7 @@ pub fn buildCrtFile(comp: *Compilation, in_crt_file: CrtFile, prog_node: std.Pro |
| 115 | 119 | return comp.build_crt_file("Scrt1", .Obj, .@"musl Scrt1.o", prog_node, &files, .{ |
| 116 | 120 | .function_sections = true, |
| 117 | 121 | .data_sections = true, |
| 122 | .omit_frame_pointer = true, |
| 118 | 123 | .pic = true, |
| 119 | 124 | .no_builtin = true, |
| 120 | 125 | }); |
| ... | ... | @@ -213,6 +218,7 @@ pub fn buildCrtFile(comp: *Compilation, in_crt_file: CrtFile, prog_node: std.Pro |
| 213 | 218 | return comp.build_crt_file("c", .Lib, .@"musl libc.a", prog_node, c_source_files.items, .{ |
| 214 | 219 | .function_sections = true, |
| 215 | 220 | .data_sections = true, |
| 221 | .omit_frame_pointer = true, |
| 216 | 222 | .no_builtin = true, |
| 217 | 223 | }); |
| 218 | 224 | }, |
| ... | ... | @@ -457,7 +463,6 @@ fn addCcArgs( |
| 457 | 463 | |
| 458 | 464 | o_arg, |
| 459 | 465 | |
| 460 | | "-fomit-frame-pointer", |
| 461 | 466 | "-fno-unwind-tables", |
| 462 | 467 | "-fno-asynchronous-unwind-tables", |
| 463 | 468 | |