(b_out_get_reloc_upper_bound): For BSS section, just return 0.
authorKen Raeburn <raeburn@cygnus>
Wed, 16 Feb 1994 00:59:19 +0000 (00:59 +0000)
committerKen Raeburn <raeburn@cygnus>
Wed, 16 Feb 1994 00:59:19 +0000 (00:59 +0000)
commitca163703883dd2f0a79120ad12eeedc77fad6518
tree8e979e665441898080687fab9c2b2698d46df586
parent66d9f06f6d4d2ba293055522ce5adc267a37158d
(b_out_get_reloc_upper_bound): For BSS section, just return 0.
(aligncode): When shrinking, the addend should be set to the current offset in
the section plus the number of bytes of padding that will actually be retained.
(b_out_relax_section): If a section contains no relocations, don't bother
processing them.
(b_out_get_relocated_section_contents): Set reloc_done.  Assert that
bfd_get_section_contents returns true.  Check that relocs are properly ordered.
(b_out_get_relocated_section_contents, case ALIGNDONE): Assert that reloc's
addend falls between the current source offset and the raw size of the input
section.

Changed some indentation, deleted trailing whitespace, fixed some comments,
removed some "#if 1" lines.
(output_addr): New macro.
(calljx_callback, callj_callback, get_value, abs32code, aligncode,
b_out_get_relocated_section_contents): Use it for readability.
bfd/bout.c
This page took 0.023824 seconds and 4 git commands to generate.