diff options
author | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-06-17 21:04:45 -0300 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-06-17 21:04:45 -0300 |
commit | affffe8d3130277801f15d108654a896322e914c (patch) | |
tree | 0a4a530edd9b2aa2db0973529bb3947d630b7824 /gcc/fortran/interface.c | |
parent | 3ec7662202099738819ea521b65faada5c0a6c70 (diff) | |
download | gcc-affffe8d3130277801f15d108654a896322e914c.zip gcc-affffe8d3130277801f15d108654a896322e914c.tar.gz gcc-affffe8d3130277801f15d108654a896322e914c.tar.bz2 |
Fix undefined reference when linking to libc
When compiling with -fvisibility=hidden, libc functions was being
marked as hidden and then ld could not be linked with libc. This
commit fixes that.
It also temporarly fix issues with undefined references with functions
that get passed down as argument and called in another function by
looking for references inside the function.
gcc/ChangeLog
2020-06-17 Giuliano Belinassi <giuliano.belinassi@usp.br>
* cgraphunit.c (ipa_passes): Flush asm file, and handle
crash of child process.
* gcc.c (execute): Print additional ld call if verbose flag is
provided.
* ipa-visibility.c (gate): Run if split_outputs.
* lto-cgraph.c (lto_apply_partition_mask): Only mark body_removed
if node is not a defintion.
* lto-partition.c (analyse_symbol_references): Merge partitions of
functions which we take address of.
(lto_promote_cross_file_statics): call promote_symbol only if
promote is provided.
* lto-partition.h: update lto_promote_cross_file_statics
declaration.
* config/i386/i386-expand.c (ix86_expand_builtin): Initialize
icode.
Diffstat (limited to 'gcc/fortran/interface.c')
0 files changed, 0 insertions, 0 deletions