Changeset 1155 for trunk/src/binutils/bfd/aoutx.h
- Timestamp:
- Feb 3, 2004, 8:58:53 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/binutils/bfd/aoutx.h
-
Property cvs2svn:cvs-rev
changed from
1.5
to1.6
r1154 r1155 2086 2086 asection *output_section = sym->section->output_section; 2087 2087 2088 /* bird - start */ 2089 /* Output reloctions to weak symbols as if they were undefined externals. 2090 The aoutx.h code relocates them as if they were nothing special and I can't 2091 see the linker doing the right thing either when it processes it. */ 2092 int is_weak = g->sym_ptr_ptr 2093 && *g->sym_ptr_ptr 2094 && ((*g->sym_ptr_ptr)->flags & BSF_WEAK); 2095 /* bird - end */ 2096 2088 2097 PUT_WORD (abfd, g->address, natptr->r_address); 2089 2098 … … 2111 2120 if (bfd_is_com_section (output_section) 2112 2121 || bfd_is_abs_section (output_section) 2113 || bfd_is_und_section (output_section)) 2122 || bfd_is_und_section (output_section) 2123 || is_weak) /* bird */ 2114 2124 { 2115 2125 if (bfd_abs_section_ptr->symbol == sym) -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.