base: Rename Section to Segment, and some of its members.
authorGabe Black <gabeblack@google.com>
Sun, 29 Sep 2019 02:26:02 +0000 (19:26 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 9 Oct 2019 00:06:25 +0000 (00:06 +0000)
commit3c65c44a1ae87607337a56ca45b6b305778d52ff
tree99c47c7bf5c9a7b14b7b87cb31633b9370b2d7d6
parent93595f4a2a069d1b10c6ff63a5f5273b3a695549
base: Rename Section to Segment, and some of its members.

ELF is, in my opinion, the most important object file format gem5
currently understands, and in ELF terminolgy the blob of data that
needs to be loaded into memory to a particular location is called a
segment. A section is a software level view of what's in a region
of memory, and a single segment may contain multiple sections which
happen to follow each other in memory.

Change-Id: Ib810c5050723d5a96bd7550515b08ac695fb1b02
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21462
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
24 files changed:
src/arch/alpha/process.cc
src/arch/alpha/system.cc
src/arch/arm/freebsd/system.cc
src/arch/arm/linux/system.cc
src/arch/arm/process.cc
src/arch/arm/system.cc
src/arch/mips/process.cc
src/arch/power/process.cc
src/arch/riscv/bare_metal/system.cc
src/arch/riscv/process.cc
src/arch/sparc/process.cc
src/arch/sparc/system.cc
src/arch/x86/process.cc
src/base/loader/aout_object.cc
src/base/loader/dtb_object.cc
src/base/loader/ecoff_object.cc
src/base/loader/elf_object.cc
src/base/loader/elf_object.hh
src/base/loader/hex_file.cc
src/base/loader/hex_file.hh
src/base/loader/object_file.cc
src/base/loader/object_file.hh
src/base/loader/raw_object.cc
src/sim/system.cc