One of the earliest names of Taiwan other than Formosa was Pacan (recorded by the Spanish) or Packan (recorded by the Dutch), which was written as 北港 in Hanji. For a while it was used to refer to the entire island.
Most people just write the second location as 加里林. There is debate on where it is. It might be a cognate to these places:
qali- is the Austronesian prefix for anything sacred or spirit-related.