GHCi doesn't load .dyn_o files appropriately
Now that GHCi generally defaults to dynamic linking, it handles dynamic object files. But it doesn't implicitly handle the `-dynamic-too` case appropriately:
```
$ cat Test.hs
main = return ()
$ ./inplace/bin/ghc-stage2 -dynamic Test.hs
[1 of 1] Compiling Main ( Test.hs, Test.o )
Linking Test ...
$ ./inplace/bin/ghc-stage2 --interactive Test
GHCi, version 7.8.20140130: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Ok, modules loaded: Main.
Prelude Main> ^D
$ ./inplace/bin/ghc-stage2 -dynamic-too Test.hs
[1 of 1] Compiling Main ( Test.hs, Test.o )
Linking Test ...
$ ./inplace/bin/ghc-stage2 --interactive Test
GHCi, version 7.8.20140130: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
[1 of 1] Compiling Main ( Test.hs, interpreted )
Ok, modules loaded: Main.
*Main>
```
Also:
```
$ ./inplace/bin/ghc-stage2 --interactive Test.dyn_o
GHCi, version 7.8.20140130: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Warning: ignoring unrecognised input `Test.dyn_o'
Prelude>
```
but it does handle the `.o` case. This should all be fixed and merged to 7.8 since it'll likely be very annoying.
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ------------ |
| Version | 7.8.1-rc1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | high |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"GHCi doesn't load .dyn_o files appropriately","status":"New","operating_system":"","component":"Compiler","related":[],"milestone":"7.8.1","resolution":"Unresolved","owner":{"tag":"OwnedBy","contents":"thoughtpolice"},"version":"7.8.1-rc1","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"Now that GHCi generally defaults to dynamic linking, it handles dynamic object files. But it doesn't implicitly handle the `-dynamic-too` case appropriately:\r\n\r\n{{{\r\n$ cat Test.hs\r\nmain = return ()\r\n\r\n$ ./inplace/bin/ghc-stage2 -dynamic Test.hs\r\n[1 of 1] Compiling Main ( Test.hs, Test.o )\r\nLinking Test ...\r\n\r\n$ ./inplace/bin/ghc-stage2 --interactive Test\r\nGHCi, version 7.8.20140130: http://www.haskell.org/ghc/ :? for help\r\nLoading package ghc-prim ... linking ... done.\r\nLoading package integer-gmp ... linking ... done.\r\nLoading package base ... linking ... done.\r\nOk, modules loaded: Main.\r\nPrelude Main> ^D\r\n\r\n$ ./inplace/bin/ghc-stage2 -dynamic-too Test.hs\r\n[1 of 1] Compiling Main ( Test.hs, Test.o )\r\nLinking Test ...\r\n\r\n$ ./inplace/bin/ghc-stage2 --interactive Test\r\nGHCi, version 7.8.20140130: http://www.haskell.org/ghc/ :? for help\r\nLoading package ghc-prim ... linking ... done.\r\nLoading package integer-gmp ... linking ... done.\r\nLoading package base ... linking ... done.\r\n[1 of 1] Compiling Main ( Test.hs, interpreted )\r\nOk, modules loaded: Main.\r\n*Main> \r\n}}}\r\n\r\nAlso:\r\n\r\n{{{\r\n$ ./inplace/bin/ghc-stage2 --interactive Test.dyn_o\r\nGHCi, version 7.8.20140130: http://www.haskell.org/ghc/ :? for help\r\nLoading package ghc-prim ... linking ... done.\r\nLoading package integer-gmp ... linking ... done.\r\nLoading package base ... linking ... done.\r\nWarning: ignoring unrecognised input `Test.dyn_o'\r\nPrelude> \r\n}}}\r\n\r\nbut it does handle the `.o` case. This should all be fixed and merged to 7.8 since it'll likely be very annoying.","type_of_failure":"OtherFailure","blocking":[]} -->
issue