private long segmentRound(long addr) {
		final long mask = pageSize - 1;
		long rounded = ((addr + mask) & ~mask);
		return rounded;
	}
Rounds the provided address up to the next page boundary.
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/unixaout/UnixAoutHeader.java