Repeating section names in ELF binary

2013-04-06 Thread Sebastian Wankerl
Hello, we are working on a project to make module debugging for the Linux kernel easier. We want to improve it in such a way that gdb automatically loads the symbols of modules. However, we are facing the following difficulties: gdb needs to know all section of the ELF files. We were told that gcc

Re: Repeating section names in ELF binary

2013-04-06 Thread Ian Lance Taylor
On Sat, Apr 6, 2013 at 3:09 AM, Sebastian Wankerl wrote: > > we are working on a project to make module debugging for the Linux > kernel easier. We want to improve it in such a way that gdb > automatically loads the symbols of modules. However, we are facing the > following difficulties: gdb needs

Can -mno-big-switch be removed from the PA port?

2013-04-06 Thread Steven Bosscher
Hello, I'm trying to get to a point where the CFG is useable even in the delay-slot filling pass (dbr_schedule) and I'm currently stuck on a transformation that the PA port does if -mno-big-switch is in effect. With !TARGET_BIG_SWITCH, the PA port "explodes" a JUMP_TABLE_DATA to real code, i.e. a

Re: Can -mno-big-switch be removed from the PA port?

2013-04-06 Thread John David Anglin
On 6-Apr-13, at 12:25 PM, Steven Bosscher wrote: Are there any reasons against removing !TARGET_BIG_SWITCH support? It would really help if this code can go away... Yes, branch distances are limited to what can be encoded in a 17-bit pc relative offset. Large code will break with !TARGET_B

Re: Compiling gcc473-RC-20130404 with -Wextra

2013-04-06 Thread Gabriel Dos Reis
On Sat, Apr 6, 2013 at 6:51 AM, Дилян Палаузов wrote: > Hello, > > I compile gcc473-RC-20130404 with > > CFLAGS='-pipe -O3 -march=native -Wl,-S -Wl,--hash-style=gnu -Wl,-O1 > -Wl,-z,relro -flto -Wall -Wextra' > ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var > --enable-threads=pos

Re: Can -mno-big-switch be removed from the PA port?

2013-04-06 Thread Steven Bosscher
On Sat, Apr 6, 2013 at 7:09 PM, John David Anglin wrote: > On 6-Apr-13, at 12:25 PM, Steven Bosscher wrote: > >> Are there any reasons against removing !TARGET_BIG_SWITCH support? It >> would really help if this code can go away... > > > Yes, branch distances are limited to what can be encoded in a

Re: Can -mno-big-switch be removed from the PA port?

2013-04-06 Thread John David Anglin
On 6-Apr-13, at 3:16 PM, Steven Bosscher wrote: On Sat, Apr 6, 2013 at 7:09 PM, John David Anglin wrote: On 6-Apr-13, at 12:25 PM, Steven Bosscher wrote: Are there any reasons against removing !TARGET_BIG_SWITCH support? It would really help if this code can go away... Yes, branch distan

gcc-4.7-20130406 is now available

2013-04-06 Thread gccadmin
Snapshot gcc-4.7-20130406 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.7-20130406/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.7 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches