With this we have a single section hierarchy. It is a bit less code, but the main advantage will be being able to handle
foo = symbol_in_obj;
in a linker script. Currently that fails since we try to find the output section of symbol_in_obj. With this we should be able to just return an InputSection from the expression.
Please add a comment -- this class represents an ELF section, either it is an input section or an output section.