comment additions
This commit is contained in:
parent
855b0be7f7
commit
153b546a7a
2 changed files with 5 additions and 1 deletions
|
@ -3144,6 +3144,8 @@ tc_gen_reloc (section, fixp)
|
|||
#define GOT_NAME "__GLOBAL_OFFSET_TABLE_"
|
||||
#endif
|
||||
|
||||
/* This code must be parallel to the OBJ_ELF tc_fix_adjustable. */
|
||||
|
||||
if (sparc_pic_code)
|
||||
{
|
||||
switch (code)
|
||||
|
|
|
@ -123,7 +123,9 @@ extern int elf32_sparc_force_relocation PARAMS ((struct fix *));
|
|||
/* Keep relocations against global symbols. Don't turn them into
|
||||
relocations against sections. This is required for the dynamic
|
||||
linker to operate properly. When generating PIC, we need to keep
|
||||
any non PC relative reloc. */
|
||||
any non PC relative reloc. The PIC part of this test must be
|
||||
parallel to the code in tc_gen_reloc which converts relocations to
|
||||
GOT relocations. */
|
||||
#define tc_fix_adjustable(FIX) \
|
||||
(! S_IS_EXTERNAL ((FIX)->fx_addsy) \
|
||||
&& ! S_IS_WEAK ((FIX)->fx_addsy) \
|
||||
|
|
Loading…
Reference in a new issue