]> gcc.gnu.org Git - gcc.git/commit - gcc/genmultilib
gcc.c (set_multilib_dir): Don't access *end.
authorJakub Jelinek <jakub@redhat.com>
Sat, 5 Oct 2002 18:55:54 +0000 (20:55 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 5 Oct 2002 18:55:54 +0000 (20:55 +0200)
commitc49d2df6cc3675364f51c5b4b9e35840edfb312e
tree3f08c124b012b43d45c6dc5317707ba5f8e5e905
parentd758c1db6bad001b7ff82cf36d075de21fa75e05
gcc.c (set_multilib_dir): Don't access *end.

* gcc.c (set_multilib_dir): Don't access *end.
Use memcpy instead of strncpy.  Don't write beyond malloced buffer.
(print_multilib_info): Don't show paths starting with ".:".
* genmultilib: Add new option, "yes" if multilibs are enabled.
Update comments.  If multilibs not enabled, print .:${osdirout}
for each directory.  If multilibs are enabled, always print
${dirout}:${osdirout}, even if the two are the same.
* Makefile.in (s-mlib): Pass @enable_multilib@ to genmultilib.
Pass all MULTILIB_* variables to genmultilib even if
--disable-multilib but MULTILIB_OSDIRNAMES is not empty.

From-SVN: r57846
gcc/ChangeLog
gcc/Makefile.in
gcc/gcc.c
gcc/genmultilib
This page took 0.066148 seconds and 5 git commands to generate.