Mercurial > hg > CbC > CbC_gcc
diff gcc/lto/lto.h @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | 77e2b8dfacca |
children | f6334be47118 |
line wrap: on
line diff
--- a/gcc/lto/lto.h Fri Feb 12 23:41:23 2010 +0900 +++ b/gcc/lto/lto.h Mon May 24 12:47:05 2010 +0900 @@ -1,5 +1,5 @@ /* LTO declarations. - Copyright 2009 Free Software Foundation, Inc. + Copyright 2009, 2010 Free Software Foundation, Inc. Contributed by CodeSourcery, Inc. This file is part of GCC. @@ -28,6 +28,7 @@ { /* The name of the file. */ const char *filename; + /* The offset for the object inside an ar archive file (or zero). */ off_t offset; } lto_file; @@ -38,13 +39,13 @@ extern void lto_main (int); extern void lto_read_all_file_options (void); -/* In lto-elf.c */ -extern lto_file *lto_elf_file_open (const char *filename, bool writable); -extern void lto_elf_file_close (lto_file *file); -extern htab_t lto_elf_build_section_table (lto_file *file); -extern void lto_elf_begin_section (const char *name); -extern void lto_elf_append_data (const void *data, size_t len, void *block); -extern void lto_elf_end_section (void); +/* In lto-elf.c or lto-coff.c */ +extern lto_file *lto_obj_file_open (const char *filename, bool writable); +extern void lto_obj_file_close (lto_file *file); +extern htab_t lto_obj_build_section_table (lto_file *file); +extern void lto_obj_begin_section (const char *name); +extern void lto_obj_append_data (const void *data, size_t len, void *block); +extern void lto_obj_end_section (void); extern lto_file *lto_set_current_out_file (lto_file *file); extern lto_file *lto_get_current_out_file (void);