Mercurial > hg > xemacs-beta
changeset 4848:bde90bc762f2
Remove support for non-pdump on Cygwin.
See xemacs-patches message
<870180fe1001130949m2b4b3f08k198e360f56b7ac45@mail.gmail.com>.
author | Jerry James <james@xemacs.org> |
---|---|
date | Wed, 13 Jan 2010 10:50:47 -0700 |
parents | 05c519de7353 |
children | 5eacb04a2e62 |
files | ChangeLog configure.ac src/ChangeLog src/Makefile.in.in src/depend src/s/cygwin.sc src/s/cygwin32.h |
diffstat | 7 files changed, 13 insertions(+), 119 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Jan 13 06:02:42 2010 -0600 +++ b/ChangeLog Wed Jan 13 10:50:47 2010 -0700 @@ -1,3 +1,7 @@ +2010-01-13 Jerry James <james@xemacs.org> + + * configure.ac: Update comment about Cygwin and pdump. + 2010-01-13 Ben Wing <ben@xemacs.org> * INSTALL:
--- a/configure.ac Wed Jan 13 06:02:42 2010 -0600 +++ b/configure.ac Wed Jan 13 10:50:47 2010 -0700 @@ -1442,7 +1442,7 @@ case "$opsys" in linux* ) with_pdump=yes ;; dnl glibc 2.3.1 seems to hose unexec darwin ) with_pdump=yes ;; dnl No "native" working dumper available - cygwin* ) with_pdump=yes ;; dnl unexec is broken + cygwin* ) with_pdump=yes ;; dnl No "native" dumper available * ) with_pdump=no ;; esac fi
--- a/src/ChangeLog Wed Jan 13 06:02:42 2010 -0600 +++ b/src/ChangeLog Wed Jan 13 10:50:47 2010 -0700 @@ -1,3 +1,10 @@ +2010-01-13 Jerry James <james@xemacs.org> + + * Makefile.in.in: Remove CYGWIN && !PDUMP section. + * depend: Regenerated. + * s/cygwin.sc: Removed. + * s/cygwin32.h (UNEXEC): Do not define. + 2010-01-13 Ben Wing <ben@xemacs.org> * print.c:
--- a/src/Makefile.in.in Wed Jan 13 06:02:42 2010 -0600 +++ b/src/Makefile.in.in Wed Jan 13 10:50:47 2010 -0700 @@ -391,10 +391,6 @@ ldflags = $(LDFLAGS) $(ld_switch_all) $(ld_dynamic_link_flags) #endif -#if defined (CYGWIN) && !defined (PDUMP) -ldflags += -Wl,--script=s/cygwin.sc -#endif - #ifdef SOLARIS2 %.o : %.c #else
--- a/src/depend Wed Jan 13 06:02:42 2010 -0600 +++ b/src/depend Wed Jan 13 10:50:47 2010 -0700 @@ -239,7 +239,7 @@ undo.o: $(CONFIG_H) $(LISP_H) buffer.h bufslots.h casetab.h charset.h chartab.h compiler.h dumper.h extents.h gc.h general-slots.h lisp-disunion.h lisp-union.h lisp.h lrecord.h mc-alloc.h number-gmp.h number-mp.h number.h symeval.h symsinit.h text.h vdb.h unexaix.o: $(CONFIG_H) $(LISP_H) compiler.h dumper.h gc.h general-slots.h getpagesize.h lisp-disunion.h lisp-union.h lisp.h lrecord.h mc-alloc.h number-gmp.h number-mp.h number.h symeval.h symsinit.h text.h vdb.h unexalpha.o: $(CONFIG_H) compiler.h -unexcw.o: $(CONFIG_H) $(LISP_H) compiler.h dumper.h gc.h general-slots.h lisp-disunion.h lisp-union.h lisp.h lrecord.h mc-alloc.h number-gmp.h number-mp.h number.h symeval.h symsinit.h sysfile.h text.h vdb.h +unexcw.o: $(CONFIG_H) $(LISP_H) compiler.h dumper.h gc.h general-slots.h intl-auto-encap-win32.h lisp-disunion.h lisp-union.h lisp.h lrecord.h mc-alloc.h number-gmp.h number-mp.h number.h symeval.h symsinit.h sysfile.h syswindows.h text.h vdb.h unexec.o: $(CONFIG_H) $(LISP_H) compiler.h dumper.h gc.h general-slots.h getpagesize.h lisp-disunion.h lisp-union.h lisp.h lrecord.h mc-alloc.h number-gmp.h number-mp.h number.h symeval.h symsinit.h text.h vdb.h unexelf.o: $(CONFIG_H) $(LISP_H) compiler.h dumper.h gc.h general-slots.h lisp-disunion.h lisp-union.h lisp.h lrecord.h mc-alloc.h number-gmp.h number-mp.h number.h symeval.h symsinit.h text.h vdb.h unexhp9k800.o: $(CONFIG_H) $(LISP_H) compiler.h dumper.h gc.h general-slots.h lisp-disunion.h lisp-union.h lisp.h lrecord.h mc-alloc.h number-gmp.h number-mp.h number.h symeval.h symsinit.h text.h vdb.h
--- a/src/s/cygwin.sc Wed Jan 13 06:02:42 2010 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,112 +0,0 @@ -/* Default linker script, for normal executables */ -OUTPUT_FORMAT(pei-i386) -SEARCH_DIR("/usr/i686-pc-cygwin/lib"); SEARCH_DIR("/usr/lib"); SEARCH_DIR("/usr/lib/w32api"); -ENTRY(_mainCRTStartup) -SECTIONS -{ - .text __image_base__ + __section_alignment__ : - { - *(.init) - *(.text) - *(SORT(.text$*)) - *(.glue_7t) - *(.glue_7) - ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; - LONG (-1); *(SORT(.ctors.*)); *(.ctors); *(.ctor); LONG (0); - ___DTOR_LIST__ = .; __DTOR_LIST__ = . ; - LONG (-1); *(SORT(.dtors.*)); *(.dtors); *(.dtor); LONG (0); - *(.fini) - /* ??? Why is .gcc_exc here? */ - *(.gcc_exc) - etext = .; - *(.gcc_except_table) - } - /* The Cygwin32 library uses a section to avoid copying certain data - on fork. This used to be named ".data". The linker used - to include this between __data_start__ and __data_end__, but that - breaks building the cygwin32 dll. Instead, we name the section - ".data_cygwin_nocopy" and explictly include it after __data_end__. */ - .data BLOCK(__section_alignment__) : - { - __data_start__ = . ; - *(.data) - *(.data2) - *(SORT(.data$*)) - __data_end__ = . ; - *(.data_cygwin_nocopy) - } - .bss BLOCK(__section_alignment__) : - { - __bss_start__ = . ; - *(.bss) - *(COMMON) - __bss_end__ = . ; - } - .rdata BLOCK(__section_alignment__) : - { - *(.rdata) - *(SORT(.rdata$*)) - *(.eh_frame) - ___RUNTIME_PSEUDO_RELOC_LIST__ = .; - __RUNTIME_PSEUDO_RELOC_LIST__ = .; - *(.rdata_runtime_pseudo_reloc) - ___RUNTIME_PSEUDO_RELOC_LIST_END__ = .; - __RUNTIME_PSEUDO_RELOC_LIST_END__ = .; - } - .pdata BLOCK(__section_alignment__) : - { - *(.pdata) - } - .edata BLOCK(__section_alignment__) : - { - *(.edata) - } - /DISCARD/ : - { - *(.debug$S) - *(.debug$T) - *(.debug$F) - *(.drectve) - } - .idata BLOCK(__section_alignment__) : - { - /* This cannot currently be handled with grouped sections. - See pe.em:sort_sections. */ - SORT(*)(.idata$2) - SORT(*)(.idata$3) - /* These zeroes mark the end of the import list. */ - LONG (0); LONG (0); LONG (0); LONG (0); LONG (0); - SORT(*)(.idata$4) - SORT(*)(.idata$5) - SORT(*)(.idata$6) - SORT(*)(.idata$7) - } - .CRT BLOCK(__section_alignment__) : - { - *(SORT(.CRT$*)) - } - .endjunk BLOCK(__section_alignment__) : - { - /* end is deprecated, don't use it */ - end = .; - _end = .; - __end__ = .; - } - .rsrc BLOCK(__section_alignment__) : - { - *(.rsrc) - *(SORT(.rsrc$*)) - } - .reloc BLOCK(__section_alignment__) : - { - *(.reloc) - } - .stab BLOCK(__section_alignment__) (NOLOAD) : - { - [ .stab ] - } - .stabstr BLOCK(__section_alignment__) (NOLOAD) : - { - [ .stabstr ] - } -}