File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,9 @@ pub fn run(args: Args) -> Result<()> {
85
85
fn generate ( args : GenerateArgs ) -> Result < ( ) > {
86
86
let mut diff_config = diff:: DiffObjConfig {
87
87
function_reloc_diffs : diff:: FunctionRelocDiffs :: None ,
88
+ combine_data_sections : true ,
89
+ combine_text_sections : true ,
90
+ ppc_calculate_pool_relocations : false ,
88
91
..Default :: default ( )
89
92
} ;
90
93
apply_config_args ( & mut diff_config, & args. config ) ?;
@@ -241,14 +244,12 @@ fn report_object(
241
244
for ( symbol, symbol_diff) in obj. symbols . iter ( ) . zip ( & obj_diff. symbols ) {
242
245
if symbol. section != Some ( section_idx)
243
246
|| symbol. size == 0
244
- || symbol. flags . contains ( SymbolFlag :: Hidden )
245
- || symbol. flags . contains ( SymbolFlag :: Ignored )
247
+ || symbol. flags . contains ( SymbolFlag :: Hidden | SymbolFlag :: Ignored )
246
248
{
247
249
continue ;
248
250
}
249
251
if let Some ( existing_functions) = & mut existing_functions {
250
- if ( symbol. flags . contains ( SymbolFlag :: Global )
251
- || symbol. flags . contains ( SymbolFlag :: Weak ) )
252
+ if symbol. flags . contains ( SymbolFlag :: Global | SymbolFlag :: Weak )
252
253
&& !existing_functions. insert ( symbol. name . clone ( ) )
253
254
{
254
255
continue ;
You can’t perform that action at this time.
0 commit comments