https://sourceware.org/bugzilla/show_bug.cgi?id=25172

            Bug ID: 25172
           Summary: Wrong description of --stop-address=ADDR switch
           Product: binutils
           Version: 2.33
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: cimbal at avast dot com
  Target Milestone: ---

The stop address is NOT part of dumped data, contrary to description.

manpage:
--stop-address=address
           Stop displaying data at the specified address.  This affects the
           output of the -d, -r and -s options.

built-in help:
      --start-address=ADDR       Only process data whose address is >= ADDR
      --stop-address=ADDR        Only process data whose address is <= ADDR

real behavior:
$objdump -s fsum.o --start-address=0x00000000000080f8
--stop-address=0x00000000000080f8
objdump: error: the stop address should be after the start address

$objdump -s fsum.o --start-address=0x00000000000080f8
--stop-address=0x00000000000080f9

fsum.o:     file format elf64-x86-64

Contents of section .text:
 80f8 0e                                   .

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to