diff options
author | Dave Korn <dave.korn.cygwin@gmail.com> | 2010-04-26 03:41:04 +0000 |
---|---|---|
committer | Dave Korn <davek@gcc.gnu.org> | 2010-04-26 03:41:04 +0000 |
commit | 2cee01013603d62bf3e8985f0699d562c9efe813 (patch) | |
tree | 5fe0e13fe14b647713fcab82c630a588adcd76ad /gcc/lto/lto.h | |
parent | b2358c0640d65bf83a9b9ecc32e844c29c687017 (diff) | |
download | gcc-2cee01013603d62bf3e8985f0699d562c9efe813.zip gcc-2cee01013603d62bf3e8985f0699d562c9efe813.tar.gz gcc-2cee01013603d62bf3e8985f0699d562c9efe813.tar.bz2 |
lto.h (lto_elf_file_open): Rename prototype from this ...
* lto.h (lto_elf_file_open): Rename prototype from this ...
(lto_obj_file_open): ... to this.
(lto_elf_file_close): Likewise ...
(lto_obj_file_close): ... and likewise.
(lto_elf_build_section_table): Likewise ...
(lto_obj_build_section_table): ... and likewise.
(lto_elf_begin_section): Likewise ...
(lto_obj_begin_section): ... and likewise.
(lto_elf_append_data): Likewise ...
(lto_obj_append_data): ... and likewise.
(lto_elf_end_section): Likewise ...
(lto_obj_end_section): ... and likewise.
* lto.c (lto_file_read): Update references to the above.
(lto_wpa_write_files): Likewise.
(lto_read_all_file_options): Likewise.
(read_cgraph_and_symbols): Likewise.
* lto-lang.c (LANG_HOOKS_BEGIN_SECTION): Likewise.
(LANG_HOOKS_APPEND_DATA): Likewise.
(LANG_HOOKS_END_SECTION): Likewise.
* lto-elf.c (lto_elf_file_open): Rename from this ...
(lto_obj_file_open): ... to this, updating any references.
(lto_elf_file_close): Likewise ...
(lto_obj_file_close): ... and likewise.
(lto_elf_build_section_table): Likewise ...
(lto_obj_build_section_table): ... and likewise.
(lto_elf_begin_section): Likewise ...
(lto_obj_begin_section): ... and likewise.
(lto_elf_append_data): Likewise ...
(lto_obj_append_data): ... and likewise.
(lto_elf_end_section): Likewise ...
(lto_obj_end_section): ... and likewise.
From-SVN: r158718
Diffstat (limited to 'gcc/lto/lto.h')
-rw-r--r-- | gcc/lto/lto.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/lto/lto.h b/gcc/lto/lto.h index 0c4305a..e55342b 100644 --- a/gcc/lto/lto.h +++ b/gcc/lto/lto.h @@ -38,13 +38,13 @@ extern const char *resolution_file_name; 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); |