diff options
author | bosch <bosch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-11 23:28:47 +0000 |
---|---|---|
committer | bosch <bosch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-11 23:28:47 +0000 |
commit | 699d76d2a494aeb2233abbec7450eb8f28591412 (patch) | |
tree | 1eb5c3598cab3e28720f900ad0f6e3a309265f54 /gcc/ada/Makefile.in | |
parent | e38b11be1416a7104a780d673de4ad26417f1ed5 (diff) | |
download | gcc-699d76d2a494aeb2233abbec7450eb8f28591412.tar.gz |
* Makefile.in:
(GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
(GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
(GNATLS_RTL_OBJS): add g-crc32.o
(GNATMAKE_RTL_OBJS): add g-crc32.o
* ali-util.adb:
(CRC_Match): new function.
(Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
instead of the previous simple checksum algorithm.
(Time_Stamp_Mismatch): use CRC_Match for comparison.
(Set_Source_Table): idem.
* ali-util.ads:
(Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
instead of simple checksum.
(CRC_Match): new function.
(CRC_Error): new constant.
* ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
a CRC now and not a simple checksum. A CRC uses lower-case hex
letters, fixes ambiguity in parsing.
* ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
is what this variable will store.
* bcheck.adb: Change reference to chechsum in comments by CRC.
(Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
rename All_Checksum_Match to All_CRC_Match. Change due to API
renaming since now GNAT does not use a simple checksum but a
CRC using GNAT.CRC32.
* gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
now and not anymore a simple checksum.
* lib-load.adb: Use Source_CRC instead of Source_Checksum in many
places.
* lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
* scans.adb:
(Restore_Scan_State): rename Checksum to CRC.
(Save_Scan_State): idem.
* scans.ads:
With GNAT.CRC32.
(Checksum): rename to CRC.
(Saved_Scan_State): Save_Checksum field renamed to Save_CRC
* scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
GNAT.CRC32). Update copyright notice.
* scn-slit.adb: Rename many Accumulate_Checksum to Update (from
GNAT.CRC32). Update copyright notice.
* scn.adb:
(Accumulate_Checksum): removed.
(Update): new procedure. Add a wide-character into the CRC.
* sinput-l.adb:
(Complete_Source_File_Entry): use CRC32 instead of simple checksum.
(Load_File): fix initialization of S (change Source_Checksum to
Source_CRC)
* sinput-p.adb (Load_Project_File): rename Source_Checksum to
Source_CRC in S initialization.
* sinput.adb (Source_Checksum): renamed to Source_CRC.
* sinput.ads (Source_Checksum): renamed to Source_CRC.
Update comments for the CRC.
* types.adb (Hex): Use lowercase for the letter part.
* types.ads (Get_Hex_String): Returns the hexadecimal representation
for a word. This is currently used only for CRC. In previous version,
the checksum was using a representation with all letter being
upper-case. With the new implementation (using CRC) we do not remove
the 32th bit of the CRC, so we can have an upper-case starting letter
in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
It is ambigous since the CRC was optional and could be followed by
options like EB, EE. So now this routines uses lower-case letter for
the hexadecimal representation. Strange enough only lower case letters
where checked in Scan_ALI (even if this was not a possible case).
* gnatvsn.ads (Library_Version): changed to 3.15a.
* s-crc32.ads: Initial version from GNAT.CRC32. This is the version
for the compiler.
* s-crc32.adb: Initial version from GNAT.CRC32. This is the version
for the compiler.
* ali-util.adb: Redo previous change to avoid using word CRC everywhere
Add 2001 to copyright notice
(Accumulate_Checksum): Modify to use System.CRC32.
* ali-util.ads: Redo changes of previous revision to continue to use
the word Checksum. Add 2001 to copyright notice.
* ali.adb: Undo some of previous changes, not needed.
Keep the change for lower case letters in the checksum.
* ali.ads: Undo previous change not needed.
* bcheck.adb: Undo most of previous change, not needed.
But do use Checksums_Match for checksum comparison.
* gnatls.adb: Undo most of previous change, not needed.
But do use Checksums_Match for comparing checksums.
* lib-load.adb: Undo previous change, not needed.
* lib-writ.adb: Undo previous change, not needed.
* lib-writ.ads: Document that checksums use lower case,
not upper case letters.
* scans.adb: Undo previous change, not needed
* scans.ads: Undo previous change, not needed.
* scn-nlit.adb: Undo previous changes, not needed.
* scn-slit.adb: Undo previous change, not needed. Fix header format.
* scn.adb:
(Accumulate_Checksum): Use System.CRC32.
(Initialize_Checksum): New procedure.
Remove other changes of previous revision.
* sinput-p.adb: Undo previous change, not needed.
* sinput.adb: Undo previous change, not needed.
* sinput-l.adb: Undo previous change, not needed.
* sinput.ads: Undo previous change, not needed. Keep only comment
on new checksum algorithm
* Makefile.in: Add s-crc32 as needed, remove g-crc32.
Also remove a-tags and a-stream from GNAT sources.
* ali.adb (Scan_ALI): fix typo introduce in latest check-in.
* Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46206 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/Makefile.in')
-rw-r--r-- | gcc/ada/Makefile.in | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/gcc/ada/Makefile.in b/gcc/ada/Makefile.in index 75a56d26509..df2a68c1d7e 100644 --- a/gcc/ada/Makefile.in +++ b/gcc/ada/Makefile.in @@ -299,16 +299,16 @@ GNAT1_C_OBJS = b_gnat1.o adaint.o cstreams.o cio.o targtyps.o decl.o \ # Object files from Ada sources that are used by gnat1 GNAT_ADA_OBJS = \ - ada.o a-charac.o a-chlat1.o a-except.o s-memory.o s-traceb.o s-mastop.o \ - s-except.o ali.o alloc.o atree.o butil.o casing.o checks.o comperr.o \ - csets.o cstand.o debug.o debug_a.o einfo.o elists.o errout.o eval_fat.o \ - exp_attr.o exp_ch11.o exp_ch12.o exp_ch13.o exp_ch2.o exp_ch3.o exp_ch4.o \ - exp_ch5.o exp_ch6.o exp_ch7.o exp_ch8.o exp_ch9.o exp_code.o exp_dbug.o \ - exp_disp.o exp_dist.o exp_fixd.o exp_aggr.o exp_imgv.o \ + ada.o a-charac.o a-chlat1.o a-except.o s-memory.o \ + s-traceb.o s-mastop.o s-except.o ali.o alloc.o atree.o butil.o casing.o \ + checks.o comperr.o csets.o cstand.o debug.o debug_a.o einfo.o elists.o \ + errout.o eval_fat.o exp_attr.o exp_ch11.o exp_ch12.o exp_ch13.o exp_ch2.o \ + exp_ch3.o exp_ch4.o exp_ch5.o exp_ch6.o exp_ch7.o exp_ch8.o exp_ch9.o \ + exp_code.o exp_dbug.o exp_disp.o exp_dist.o exp_fixd.o exp_aggr.o exp_imgv.o \ exp_intr.o exp_pakd.o exp_prag.o exp_smem.o \ exp_strm.o exp_tss.o exp_util.o exp_vfpt.o expander.o fname.o fname-uf.o \ freeze.o frontend.o gnat.o g-hesora.o g-htable.o g-os_lib.o \ - g-speche.o get_targ.o gnatvsn.o \ + g-speche.o s-crc32.o get_targ.o gnatvsn.o \ hlo.o hostparm.o impunit.o \ interfac.o itypes.o inline.o krunch.o lib.o \ layout.o lib-load.o lib-util.o lib-xref.o lib-writ.o live.o \ @@ -339,7 +339,7 @@ GNATBIND_OBJS = \ butil.o casing.o csets.o \ debug.o fname.o gnat.o g-hesora.o g-htable.o \ g-os_lib.o gnatbind.o gnatvsn.o hostparm.o \ - krunch.o namet.o opt.o osint.o output.o rident.o s-assert.o \ + krunch.o namet.o opt.o osint.o output.o rident.o s-crc32.o s-assert.o \ s-parame.o s-sopco3.o s-sopco4.o s-sopco5.o s-stache.o s-stalib.o \ s-stoele.o s-imgenu.o s-strops.o s-soflin.o s-wchcon.o s-wchjis.o \ sdefault.o switch.o stylesw.o validsw.o \ @@ -392,7 +392,7 @@ GNATKR_RTL_OBJS = ada.o a-charac.o a-chahan.o a-chlat1.o a-comlin.o \ a-filico.o s-strops.o s-stratt.o s-imgenu.o a-ioexce.o s-exctab.o GNATKR_OBJS = gnatkr.o gnatvsn.o \ krunch.o hostparm.o $(GNATKR_RTL_OBJS) $(EXTRA_GNATTOOLS_OBJS) - + GNATLINK_RTL_OBJS = \ adaint.o argv.o cio.o cstreams.o \ exit.o init.o final.o raise.o tracebak.o \ @@ -451,6 +451,7 @@ GNATLS_RTL_OBJS = \ system.o \ s-assert.o \ s-bitops.o \ + s-crc32.o \ s-except.o \ s-exctab.o \ s-finroo.o \ @@ -478,6 +479,7 @@ GNATLS_RTL_OBJS = \ s-wchcnv.o \ s-wchcon.o \ s-wchjis.o + GNATLS_OBJS = \ ali.o \ ali-util.o \ @@ -553,7 +555,7 @@ GNATMAKE_RTL_OBJS = adaint.o argv.o raise.o exit.o a-comlin.o \ s-imgenu.o s-assert.o s-secsta.o s-stoele.o s-soflin.o s-fileio.o \ s-valenu.o s-valuti.o g-casuti.o \ system.o s-exctab.o s-strops.o s-sopco3.o s-sopco4.o s-sopco5.o \ - g-htable.o g-regexp.o s-wchcnv.o + g-htable.o g-regexp.o s-crc32.o s-wchcnv.o GNATMAKE_OBJS = ali.o ali-util.o \ alloc.o atree.o binderr.o butil.o casing.o csets.o debug.o einfo.o elists.o \ @@ -1666,6 +1668,7 @@ GNATRTL_NONTASKING_OBJS= \ g-cgicoo.o \ g-cgideb.o \ g-comlin.o \ + g-crc32.o \ g-curexc.o \ g-debuti.o \ g-debpoo.o \ @@ -1715,6 +1718,7 @@ GNATRTL_NONTASKING_OBJS= \ s-auxdec.o \ s-bitops.o \ s-chepoo.o \ + s-crc32.o \ s-direio.o \ s-errrep.o \ s-except.o \ @@ -3930,6 +3934,8 @@ s-assert.o : ada.ads a-except.ads gnat.ads g-htable.ads system.ads \ s-bitops.o : gnat.ads g-except.ads system.ads s-bitops.ads s-bitops.adb \ s-unstyp.ads unchconv.ads +s-crc32.o : interfac.ads system.ads s-crc32.ads s-crc32.adb + s-except.o : ada.ads a-except.ads system.ads s-except.ads s-stalib.ads \ unchconv.ads |