gold patch committed: Don't munmap if --keep-files-mapped
Ian Lance Taylor
iant@google.com
Thu Mar 10 01:18:00 GMT 2011
More information about the Binutils mailing list
Thu Mar 10 01:18:00 GMT 2011
- Previous message (by thread): [RFA/gas] dwarf2dbg.c, Assign instead of conditional in assert?
- Next message (by thread): PATCH: Update V850 manufacturer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This patch to gold avoids calling munmap on a whole file view if --keep-files-mapped is used. We will have a whole file view if --map-whole-files is true, as is the default on a 64-bit host. When we want to map the entire file, calling munmap is just a waste of time. Committed to mainline. Ian 2011-03-09 Ian Lance Taylor <iant@google.com> * fileread.cc (File_read::clear_views): Don't delete the whole file view. -------------- next part -------------- A non-text attachment was scrubbed... Name: foo.patch Type: text/x-diff Size: 711 bytes Desc: patch URL: <https://sourceware.org/pipermail/binutils/attachments/20110310/e5636f32/attachment.bin>
- Previous message (by thread): [RFA/gas] dwarf2dbg.c, Assign instead of conditional in assert?
- Next message (by thread): PATCH: Update V850 manufacturer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list