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