File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1608,6 +1608,18 @@ reloc_overflow (struct bfd_link_info *info,
1608
1608
break ;
1609
1609
case bfd_link_hash_defined :
1610
1610
case bfd_link_hash_defweak :
1611
+
1612
+ if ((strcmp (reloc_name ,"R_MICROBLAZE_SRW32" ) == 0 ) && entry -> type == bfd_link_hash_defined )
1613
+ {
1614
+ einfo (_ (" relocation truncated to fit: don't enable small data pointer optimizations[mxl-gp-opt] if extern or multiple declarations used: "
1615
+ "%s against symbol `%T' defined in %A section in %B" ),
1616
+ reloc_name , entry -> root .string ,
1617
+ entry -> u .def .section ,
1618
+ entry -> u .def .section == bfd_abs_section_ptr
1619
+ ? info -> output_bfd : entry -> u .def .section -> owner );
1620
+ break ;
1621
+ }
1622
+
1611
1623
einfo (_ (" relocation truncated to fit: "
1612
1624
"%s against symbol `%pT' defined in %pA section in %pB" ),
1613
1625
reloc_name , entry -> root .string ,
You can’t perform that action at this time.
0 commit comments