Commit 87070a8
fix(ovsm): Ensure .dynamic section is 8-byte aligned
Changed rodata_size from 4 to 8 bytes to ensure .dynamic section
virtual address is 8-byte aligned (required by sh_addralign=8).
Before: .dynamic at 0x19c (4-byte aligned) ❌
After: .dynamic at 0x1a0 (8-byte aligned) ✅
Devnet deployment still fails with 'invalid dynamic section table',
suggesting the issue is deeper than section alignment. All structural
elements now match reference programs. Further debugging requires
white-box analysis of Solana CLI validation logic.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 6cd8591 commit 87070a8
2 files changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
| 334 | + | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
| 337 | + | |
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1260 | 1260 | | |
1261 | 1261 | | |
1262 | 1262 | | |
1263 | | - | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
1264 | 1268 | | |
1265 | 1269 | | |
1266 | 1270 | | |
| |||
0 commit comments