- /*
- * Handle new data and bss sizes and optional new entry point.
- * No one actually uses bss_start and entry, but tradition compels
- * one to support them.
- * Could complain if bss_start > Brk, but the caller is *supposed* to know
- * what she is doing.
- */
- nhdr.a_data = (bss_start ? bss_start : Brk) - N_DATADDR (nhdr);
- nhdr.a_bss = bss_start ? Brk - bss_start : 0;
+ /* Handle new data and bss sizes and optional new entry point.
+ No one actually uses bss_start and entry, but tradition compels
+ one to support them.
+ Could complain if bss_start > brk_value,
+ but the caller is *supposed* to know what she is doing. */
+ nhdr.a_data = (bss_start ? bss_start : brk_value) - N_DATADDR (nhdr);
+ nhdr.a_bss = bss_start ? brk_value - bss_start : 0;