1. 03 Sep, 2005 1 commit
    • Benoit Perrot's avatar
      2005-09-03 Benoît Perrot <benoit@lrde.epita.fr> · c87d6b9a
      Benoit Perrot authored
      	Detect several definitions of the same label in a section.
      
      	* src/inst/section.hh (register_label):
      	Return false when label is already known in the section, true
      	otherwise. Move implementation to...
      	* src/inst/section.cc, src/inst/Makefile.am:
      	This new file.
      	* src/inst/data_section.hh, src/inst/data_section.cc,
      	* src/inst/text_section.hh, src/inst/text_section.cc (define_label):
      	Propagate status of register_label.
      	* src/inst/program_builder.hh.gen.py:
      	Generate an error when a label is defined more than once.
      	* tests/solve/data-label-already-defined.s,
      	* tests/solve/text-label-already-defined.s,
      	* tests/solve/Makefile.am:
      	Test it.
      
      c87d6b9a
  2. 31 Jul, 2005 1 commit
    • Benoit Perrot's avatar
      2005-07-31 Benoît Perrot <benoit@nostromo.lrde.epita.fr> · e7ae3852
      Benoit Perrot authored
      	Move generators to source directories.
      
      	* dev/parse-asm-parse-gen.py, dev/parse-asm-scan-gen.py,
      	* dev/inst-solver-gen.py, dev/inst-nodes-gen.py,
      	* dev/inst-builder-gen.py, dev/inst-nodes-mk-gen.py,
      	* dev/doc-inst-set-gen.py:
      	Move to...
      	* src/parse/asm-parse.yy.gen.py, src/parse/asm-scan.ll.gen.py,
      	* src/inst/program_solver.gen.py, src/inst/nodes.gen.py,
      	* src/inst/program_builder.hh.gen.py, src/inst/nodes.mk.gen.py,
      	* doc/inst-set.texi.gen.py:
      	These files (respectively).
      	* src/parse/Makefile.am, src/inst/Makefile.am, doc/Makefile.am,
      	* Makefile.am:
      	Update accordingly.
      	
      e7ae3852
  3. 02 Apr, 2005 1 commit
    • Benoit Perrot's avatar
      2005-04-02 Benoît Perrot <benoit@lrde.epita.fr> · 956e2a0e
      Benoit Perrot authored
      	Split `exp' files.
      
      	* src/inst/exp.hh, src/inst/exp.cc:
      	Split into...
      	* src/inst/label_exp.hh, src/inst/label_exp.cc,
      	* src/inst/op_exp.hh, src/inst/op_exp.cc,
      	* src/inst/int_exp.hh, src/inst/exp.hh:
      	These files.
      	* src/inst/Makefile.am:	Distribute them.
      	* src/vm/cpu.cc, dev/inst-builder-gen.py, dev/inst-solver-gen.py:
      	Update accordingly.
      	
      956e2a0e
  4. 01 Feb, 2005 1 commit
    • Benoit Perrot's avatar
      2005-01-29 Benoît Perrot <benoit@lrde.epita.fr> · 58ab9449
      Benoit Perrot authored
      	Make Label compose its associated offset.
      
      	* src/inst/label.hh: Protect default constructor. Compose its
      	associated offset. Add a constructor that waits for it.
      	* src/inst/section.hh (has_label, get_offset): Update accordingly.
      	(register_label): Wait for a Label only and use it to get its offset.
      	* src/inst/data_section.hh: Update accordingly.
      	* src/inst/text_label.hh: New.
      	* src/inst/Makefile.am: Update accordingly.
      	* src/inst/text_section.hh: Create TextLabels instead of Labels.
      	* src/inst/text_section.cc: Include inst.hh to gain access
      	to Inst's interface.
      
      58ab9449
  5. 18 Dec, 2004 2 commits
    • Benoit Perrot's avatar
      Index: ChangeLog · dac5b64f
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Kill (some) autotools warnings. Some m4 files from GNUlib still use
      	deprecated autotools constructions.
      
      	* src/vm/Makefile.am, src/misc/Makefile.am,
      	* src/task/Makefile.am, src/shell/Makefile.am,
      	* src/parse/Makefile.am, src/inst/Makefile.am,
      	* src/Makefile.am:
      	Use *_CPPFLAGS instead of obsoleted INCLUDES.
      	* configure.ac:
      	Run autoupdate.
      
      dac5b64f
    • Benoit Perrot's avatar
      Index: ChangeLog · c74be08a
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Move tasks to top level, to make libraries "side-effect free".
      	
      	* src/task/task-tasks.hh, src/task/task-tasks.cc,
      	* src/parse/parse-tasks.hh, src/parse/parse-tasks.cc
      	* src/inst/inst-tasks.hh, src/inst/inst-tasks.cc
      	* src/vm/vm-tasks.hh, src/vm/vm-tasks.cc,
      	* src/shell/shell-tasks.hh, src/shell/shell-tasks.cc:
      	Move to...
      	* src/task-tasks.hh, src/task-tasks.cc,
      	* src/parse-tasks.hh, src/parse-tasks.cc
      	* src/inst-tasks.hh, src/inst-tasks.cc
      	* src/vm-tasks.hh, src/vm-tasks.cc,
      	* src/shell-tasks.hh, src/shell-tasks.cc:
      	These files.
      	* src/task/Makefile.am,
      	* src/parse/Makefile.am,
      	* src/inst/Makefile.am,
      	* src/vm/Makefile.am, 
      	* src/shell/Makefile.am,
      	* src/Makefile.am,
      	* src/modules.hh:
      	Update accordingly.
      
      c74be08a
  6. 28 Nov, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 869d8e9c
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Use GNUlib as it shall be. Thanks to Akim Demaille and Paul Eggert
      	for showing me the right way to do it.
      
      	* bootstrap: Get gnulib files from CVS repository or local
      	directory (extracted from GNU tar's bootstrap script, written by
      	Paul Eggert and Sergey Poznyakoff).
      	* lib/Makefile.am.tmpl: New.
      	* Makefile.am: Add `lib' as subdirectory.
      	* configure.ac: Use gnulib's automake snippets.
      	* src/stdint_.h, config/stdint.m4, config/inttypes.m4:
      	Remove, as deprecated by the correct use of gnulib.
      	* src/Makefile.am, src/vm/Makefile.am, src/inst/Makefile.am:
      	Update accordingly.
      
      869d8e9c
  7. 25 Oct, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 5582e2ab
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	Participate to "builddir != srcdir" compilation.
      
      	* dev/inst-builder-gen.py,
      	* dev/inst-nodes-gen.py,
      	* dev/inst-solver-gen.py,
      	* dev/doc-inst-set-gen.py,
      	* dev/parse-asm-scan-gen.py,
      	* dev/parse-asm-parse-gen.py:
      	Ask for a directory where the files have to be generated.
      	* src/parse/Makefile.am,
      	* src/inst/Makefile.am,
      	* doc/Makefile.am:
      	Specify the directory where to generate.
      
      5582e2ab
  8. 03 Oct, 2004 1 commit
    • Benoit Perrot's avatar
      Index: ChangeLog · 53eca637
      Benoit Perrot authored
      from  Benoît Perrot  <benoit@lrde.epita.fr>
      
      	* dev/inst-nodes-mk-gen.py: Split into...
      	* src/inst/Makefile.am: This file.
      
      53eca637