public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* rebase ChangeLog peflags.c
@ 2011-06-21 13:37 corinna
0 siblings, 0 replies; 6+ messages in thread
From: corinna @ 2011-06-21 13:37 UTC (permalink / raw)
To: cygwin-apps-cvs
CVSROOT: /sourceware/projects/cygwin-apps-home/cvsfiles
Module name: rebase
Changes by: corinna@sourceware.org 2011-06-21 13:37:03
Modified files:
. : ChangeLog peflags.c
Log message:
* peflags.c (long_options): Add usable single char options where
missing.
(short_options): New variable.
(main): Don't exit on error if there are still files to proceed on.
(do_mark): Add verbose flag printing.
(parse_args): Accommodate changes to single-char options.
(help): Ditto.
(version): Fix copyright.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/ChangeLog.diff?cvsroot=cygwin-apps&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/peflags.c.diff?cvsroot=cygwin-apps&r1=1.3&r2=1.4
^ permalink raw reply [flat|nested] 6+ messages in thread
* rebase ChangeLog peflags.c
@ 2011-08-11 7:01 corinna
0 siblings, 0 replies; 6+ messages in thread
From: corinna @ 2011-08-11 7:01 UTC (permalink / raw)
To: cygwin-apps-cvs
CVSROOT: /sourceware/projects/cygwin-apps-home/cvsfiles
Module name: rebase
Changes by: corinna@sourceware.org 2011-08-11 07:01:13
Modified files:
. : ChangeLog peflags.c
Log message:
Implement new peflags arguments to change and display stack and
heap sizes.
* peflags.c: Include limits.h and stddef.h.
(PRIu64, PRIx64): Define for msys. Otherwise include inttypes.h.
(pe_file): Add pathname member.
(handle_any_sizeof): New global variable.
(sizeof_values_t): New type.
(sizeof_vals): New global variable.
(long_options): Add stack-reserve, stack-commit, heap-reserve,
heap-commit, and cygwin-heap options.
(short_options): Add x, X, y, Y, and z options.
(do_mark): Handle changes and display of sizeof values.
(handle_num_option): New function.
(parse_args): Workaround the problem that option_index is not valid
if the user specified a short option. Handle new options.
(string_to_bool): Call string_to_ulonglong.
(string_to_ulonglong): Replace string_to_ulong.
(pe_open): Add pathname to pef.
(get_and_set_size): New function.
(get_and_set_sizes): New function.
(help): Use only one single fputs call for the entire text to
simplify formatting. Add text to describe the new options.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/ChangeLog.diff?cvsroot=cygwin-apps&r1=1.28&r2=1.29
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/peflags.c.diff?cvsroot=cygwin-apps&r1=1.8&r2=1.9
^ permalink raw reply [flat|nested] 6+ messages in thread
* rebase ChangeLog peflags.c
@ 2011-08-07 7:48 corinna
0 siblings, 0 replies; 6+ messages in thread
From: corinna @ 2011-08-07 7:48 UTC (permalink / raw)
To: cygwin-apps-cvs
CVSROOT: /sourceware/projects/cygwin-apps-home/cvsfiles
Module name: rebase
Changes by: corinna@sourceware.org 2011-08-07 07:48:12
Modified files:
. : ChangeLog peflags.c
Log message:
* peflags.c (do_mark): Don't check return value of get_characteristics,
set_coff_characteristics and set_pe_characteristics since they always
succeed now.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/ChangeLog.diff?cvsroot=cygwin-apps&r1=1.26&r2=1.27
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/peflags.c.diff?cvsroot=cygwin-apps&r1=1.7&r2=1.8
^ permalink raw reply [flat|nested] 6+ messages in thread
* rebase ChangeLog peflags.c
@ 2011-08-07 7:41 corinna
0 siblings, 0 replies; 6+ messages in thread
From: corinna @ 2011-08-07 7:41 UTC (permalink / raw)
To: cygwin-apps-cvs
CVSROOT: /sourceware/projects/cygwin-apps-home/cvsfiles
Module name: rebase
Changes by: corinna@sourceware.org 2011-08-07 07:41:49
Modified files:
. : ChangeLog peflags.c
Log message:
* peflags.c (pe_file): Move definition to start of file.
(pe_open): Declare.
(pe_close): Declare.
(do_mark): Call pe_open/pe_close here. Call get/set functions
weith pe_file pointer instead of filename.
(get_characteristics): Change first parameter to pe_file pointer.
Drop calls to pe_open/pe_close.
(set_coff_characteristics): Ditto.
(set_pe_characteristics): Ditto.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/ChangeLog.diff?cvsroot=cygwin-apps&r1=1.25&r2=1.26
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/peflags.c.diff?cvsroot=cygwin-apps&r1=1.6&r2=1.7
^ permalink raw reply [flat|nested] 6+ messages in thread
* rebase ChangeLog peflags.c
@ 2011-08-06 8:30 corinna
0 siblings, 0 replies; 6+ messages in thread
From: corinna @ 2011-08-06 8:30 UTC (permalink / raw)
To: cygwin-apps-cvs
CVSROOT: /sourceware/projects/cygwin-apps-home/cvsfiles
Module name: rebase
Changes by: corinna@sourceware.org 2011-08-06 08:30:00
Modified files:
. : ChangeLog peflags.c
Log message:
* peflags.c: Include sys/mman.h on Cygwin and msys. Drop conditional
definitions of uint16_t and uint32_t. Use WORD rather than uint16_t
throughout, size_t rather than uint32_t.
(IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE): Define if non-existant to
workaround broken w32api. Fix usage of broken definition throughout.
(IMAGE_DLLCHARACTERISTICS_NX_COMPAT): Ditto.
(IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY): Ditto.
(pe_get16): Remove.
(pe_get32): Remove.
(pe_set16): Remove.
(mmap): Define in terms of Win32 calls for non-Cygwin systems.
(munmap): Ditto.
(pe_file): New type to keep file mapping info.
(pe_open): New function to mmap PE/COFF files.
(pe_close): New function to unmap PE/COFF files.
(get_characteristics): Use pe_opem/pe_close and direct Windows
file structure access.
(set_coff_characteristics): Ditto.
(set_pe_characteristics): Ditto.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/ChangeLog.diff?cvsroot=cygwin-apps&r1=1.23&r2=1.24
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/peflags.c.diff?cvsroot=cygwin-apps&r1=1.5&r2=1.6
^ permalink raw reply [flat|nested] 6+ messages in thread
* rebase ChangeLog peflags.c
@ 2011-06-21 9:46 corinna
0 siblings, 0 replies; 6+ messages in thread
From: corinna @ 2011-06-21 9:46 UTC (permalink / raw)
To: cygwin-apps-cvs
CVSROOT: /sourceware/projects/cygwin-apps-home/cvsfiles
Module name: rebase
Changes by: corinna@sourceware.org 2011-06-21 09:46:04
Modified files:
. : ChangeLog peflags.c
Log message:
* peflags.c: Avoid compiler warnings:
(display_flags): Convert long arguments to uint16_t.
(do_mark): Remove unused variable i;
(get_characteristics): Remove unused variable size;
(set_coff_characteristics): Ditto.
(set_pe_characteristics): Ditto.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/ChangeLog.diff?cvsroot=cygwin-apps&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/peflags.c.diff?cvsroot=cygwin-apps&r1=1.2&r2=1.3
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-08-11 7:01 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-21 13:37 rebase ChangeLog peflags.c corinna
-- strict thread matches above, loose matches on Subject: below --
2011-08-11 7:01 corinna
2011-08-07 7:48 corinna
2011-08-07 7:41 corinna
2011-08-06 8:30 corinna
2011-06-21 9:46 corinna
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).