| ... | ... | @@ -287,7 +287,7 @@ pub fn splitIntoAtoms(self: *Object, zld: *Zld, object_id: u31) !void { |
| 287 | 287 | for (sections) |sect, id| { |
| 288 | 288 | if (sect.isDebug()) continue; |
| 289 | 289 | const out_sect_id = (try zld.getOutputSection(sect)) orelse { |
| 290 | | log.debug(" unhandled section", .{}); |
| 290 | log.debug(" unhandled section '{s},{s}'", .{ sect.segName(), sect.sectName() }); |
| 291 | 291 | continue; |
| 292 | 292 | }; |
| 293 | 293 | if (sect.size == 0) continue; |
| ... | ... | @@ -306,10 +306,7 @@ pub fn splitIntoAtoms(self: *Object, zld: *Zld, object_id: u31) !void { |
| 306 | 306 | if (self.in_symtab == null) { |
| 307 | 307 | for (sections) |sect, id| { |
| 308 | 308 | if (sect.isDebug()) continue; |
| 309 | | const out_sect_id = (try zld.getOutputSection(sect)) orelse { |
| 310 | | log.debug(" unhandled section", .{}); |
| 311 | | continue; |
| 312 | | }; |
| 309 | const out_sect_id = (try zld.getOutputSection(sect)) orelse continue; |
| 313 | 310 | if (sect.size == 0) continue; |
| 314 | 311 | |
| 315 | 312 | const sect_id = @intCast(u8, id); |
| ... | ... | @@ -367,10 +364,7 @@ pub fn splitIntoAtoms(self: *Object, zld: *Zld, object_id: u31) !void { |
| 367 | 364 | log.debug("splitting section '{s},{s}' into atoms", .{ sect.segName(), sect.sectName() }); |
| 368 | 365 | |
| 369 | 366 | // Get output segment/section in the final artifact. |
| 370 | | const out_sect_id = (try zld.getOutputSection(sect)) orelse { |
| 371 | | log.debug(" unhandled section", .{}); |
| 372 | | continue; |
| 373 | | }; |
| 367 | const out_sect_id = (try zld.getOutputSection(sect)) orelse continue; |
| 374 | 368 | |
| 375 | 369 | log.debug(" output sect({d}, '{s},{s}')", .{ |
| 376 | 370 | out_sect_id + 1, |