mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-09 17:43:40 +08:00
Make sure that 29k relocs are done right.
This commit is contained in:
parent
14dd454bea
commit
065114de7b
@ -255,10 +255,10 @@ relax_addressT segment_address_in_file;
|
||||
Two relocations are emmited, R_IHIHALF, and R_IHCONST. The second one
|
||||
doesn't contain a symbol, but uses the value for offset */
|
||||
if (ri.r_type == R_IHIHALF) {
|
||||
/* now emit the second bit */
|
||||
ri.r_type = R_IHCONST;
|
||||
ri.r_symndx = 0;
|
||||
*where += bfd_coff_swap_reloc_out(stdoutput, &ri, *where);
|
||||
/* now emit the second bit */
|
||||
ri.r_type = R_IHCONST;
|
||||
ri.r_symndx = fixP->fx_addnumber;
|
||||
*where += bfd_coff_swap_reloc_out(stdoutput, &ri, *where);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user