From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Hildner Date: Mon, 10 Mar 2003 15:29:03 +0000 Subject: [Linux-ia64] relocatable switch - case Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org Hi, does anybody here know how to force gcc to compile a switch statement to position independend, fully relocatable code that uses mov rx=ip to get the address of the switch-table/program address. I only found solutions where the address is loaded via gp (which is not suitable for me). Any help is appreciated. Christian