- Fix conflicting defaults between SplitObjs and SplitSections
- Mention Trac 11445
Feb 9 2017
Dec 16 2016
Dec 1 2016
- Fix conflicting defaults with SplitObjs and SplitSections
- Mention Trac 11445
Nov 30 2016
Jan 25 2016
Yeah, this was just an oversight... I think I missed that this was here to align the info tables, and thought it was just printing a redundant section header.
The corresponding code in SPARC/PowerPC also ended up a bit broken unfortunately - with -split-sections enabled, printing a new section header here is not quite a no-op, as it switches to a new .text subsection. That makes pprSizeDecl generate an assembler error, because the end-label and start-label are not in the same section anymore.
Jan 19 2016
Nov 21 2015
Rebased on new master.
(I don't see any other changes to this file that could cause a conflict though. Might have been an issue with copy-pasting patches into the web interface or something, so this time I tried uploading a diff file instead of copy-paste.)
Nov 19 2015
Nov 12 2015
Nov 11 2015
Rebased on master, and checked that recomp011 and recomp015 still work.
Nov 1 2015
Oops, the conditional I added for dwarf aranges was the wrong way around...
Oct 29 2015
- Remove dspSection panic hack
Various review fixes
Oct 27 2015
- Add a Note [Many ELF Sections]
Oct 23 2015
So, with the updated patch the merging for ghci libs is done on GNU ld platforms, and the RTS linker fix is submitted as D1357. Other ELF platforms will not properly support -split-sections in ghci until that's in.
I also did some testing without the merging (and with the linker fix) to see if there was any bad interaction with D975, but didn't notice anything.
Oct 22 2015
- Merge sections when incrementally linking libraries (if ld is GNU ld)
Oct 8 2015
Well, one difference is that with -split-objs, I can make a single object using ld -r and then use that with the RTS linker. With this patch I can still do that, but the object file will have a million tiny sections each of which will get mmap'd separately by the RTS linker. Is there any way to combine the sections into a single text section using ld?
Oct 6 2015
There might be some interaction between this patch and D975, but I haven't tested it. My worry is that the linker will end up making a million tiny mmap calls.