mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 14:54:21 -04:00
The binutils 2.15 assembler now automaticly and non-optionally adds the .eh_frame section for unwind information. This section appears to wreck havoc to the final boot code. Fix this by using a special linker script that discards the .eh_frame sections, but is otherwise identical to the linker internal script used for -N. Compiler used: gcc 3.3.5 Verified with: binutils 2.14 & binutils 2.15 (stock and in-tree) Tested with: /boot/loader & /boot/netboot |
||
|---|---|---|
| .. | ||
| boot1 | ||
| cdboot | ||
| common | ||
| libalpha | ||
| loader | ||
| netboot | ||
| Makefile | ||
| Makefile.inc | ||