PATCH ld octets vs bytes support

Timothy Wall twall@tiac.net
Wed Jan 26 05:34:00 GMT 2000


This patch adds octets vs bytes support to the linker.

* ld/ldexp.c (fold_name): Make SIZEOF operator return byte count, not
octet count.
* ld/ldlang.c (print_input_section, print_data_statement,
print_reloc_statement, print_padding_statement): Print target address
values and section sizes as bytes, not octets.
   (insert_pad) Calculate padding size in octets, and adjust "dot" by
bytes.
   (size_input_section) Always adjust "dot" by bytes, not octets.
   (lang_check_section_addresses, lang_do_assignments) Adjust "dot" by
bytes, not octets.
   (lang_set_startof) Make sure STARTOF returns a target address.
   (lang_one_common) Record size changes in octets.
   (lang_abs_symbol_at_end_of) Section end symbol's value is recorded in
target bytes.





More information about the Binutils mailing list