Compile link .note section separately from main.c
authorNathan Howell <nhowell@alphaheavy.com>
Wed, 15 Feb 2012 19:41:09 +0000 (11:41 -0800)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 16 Feb 2012 10:42:04 +0000 (10:42 +0000)
commitb6f94b51ec68d9eadb556120a2afa6e248b5207b
tree1029fc0e8af1359a72789e3da5e332b9e7ef7002
parenteda2c7316883e7d107755c08ad696e669ead0447
Compile link .note section separately from main.c

Fixes gas errors when -g is enabled:

Error: can't resolve `.debug-ghc-link-info' {.debug-ghc-link-info section} - `.Ltext0' {.text section}
compiler/main/DriverPipeline.hs