[Bug binutils/10440] aliasing of IFUNC symbols broken

2009-07-23 Thread drepper at redhat dot com
-- What|Removed |Added CC||nickc at redhat dot com, hjl ||dot tools at gmail dot com,

[Bug binutils/10440] New: aliasing of IFUNC symbols broken

2009-07-23 Thread drepper at redhat dot com
Defining an alias of an IFUNC symbol must also create an IFUNC symbol. It makes no sense to define a normal FUNC symbol since calling it returns nonsense. .text .type foo, @gnu_indirect_function .globl foo foo:.long 1 .size foo, .-foo .globl __f

[Bug ld/10434] -fpie + -pie does not appear to work with __thread variables

2009-07-23 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2009-07-23 21:23 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug ld/10434] -fpie + -pie does not appear to work with __thread variables

2009-07-23 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-07-23 21:22 --- Subject: Bug 10434 CVSROOT:/cvs/src Module name:src Changes by: h...@sourceware.org 2009-07-23 21:22:20 Modified files: bfd: ChangeLog elf64-x86-64.c ld/

[Bug binutils/10437] New: Won't build with PDP-11 target and probably others

2009-07-23 Thread merlin_skinner at hotmail dot com
Building 2.19.1 with --target=pdp11-dec-bsd results in a compiler error. To fix, change tc-pdp11.c line 987. WAS:as_bad (err); TO: as_bad ("%s",err); This is because as_bad() requires a "const char *format" as the first parameter. Presumably this was changed at some point for a good rea

[Bug ld/10434] -fpie + -pie does not appear to work with __thread variables

2009-07-23 Thread mathieu dot lacage at gmail dot com
--- Additional Comments From mathieu dot lacage at gmail dot com 2009-07-23 15:59 --- (In reply to comment #1) > Note: this all appears to come from tls model local-exec. i.e., if I specify a > different tls model with __attribute__((tls_model("global-dynamic"))), the > linker does gener

[Bug ld/10434] -fpie + -pie does not appear to work with __thread variables

2009-07-23 Thread hjl dot tools at gmail dot com
-- What|Removed |Added CC||hjl dot tools at gmail dot ||com http://sourceware.org/bugzilla

[Bug ld/10433] Latest ld fails to link ldconfig properly

2009-07-23 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2009-07-23 13:29 --- (In reply to comment #11) > Hi H.J. > > Will the uploaded patch work ? > I am afraid it is wrong. You have to duplicate the whole logic in elf_link_output_extsym: if ((h->type == STT_GNU_IFUNC

[Bug ld/10433] Latest ld fails to link ldconfig properly

2009-07-23 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2009-07-23 13:24 --- (In reply to comment #10) > Created an attachment (id=4078) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4078&action=view) > Do not generate PLT entries for IFUNC symbols when they are defined, onl

[Bug binutils/10379] Objdump does not disassemble instructions

2009-07-23 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-07-23 10:20 --- Hi Pierre, OK, I have checked the patch in along with the following changelog entry. Cheers Nick gas/ChangeLog 2009-07-23 Nick Clifton PR binutils/10379 * doc/c-mips.texi (MIPS insn): Doc

[Bug binutils/10379] Objdump does not disassemble instructions

2009-07-23 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-07-23 10:19 --- Subject: Bug 10379 CVSROOT:/cvs/src Module name:src Changes by: ni...@sourceware.org2009-07-23 10:19:20 Modified files: gas: ChangeLog gas/doc: c

[Bug binutils/10379] Objdump does not disassemble instructions

2009-07-23 Thread Pierre dot Habraken at imag dot fr
--- Additional Comments From Pierre dot Habraken at imag dot fr 2009-07-23 10:08 --- Subject: Re: Objdump does not disassemble instructions nickc at redhat dot com wrote: > --- Additional Comments From nickc at redhat dot com 2009-07-17 09:26 > --- > Hi Pierre, > > What do

[Bug ld/10434] -fpie + -pie does not appear to work with __thread variables

2009-07-23 Thread mathieu dot lacage at gmail dot com
--- Additional Comments From mathieu dot lacage at gmail dot com 2009-07-23 09:07 --- Note: this all appears to come from tls model local-exec. i.e., if I specify a different tls model with __attribute__((tls_model("global-dynamic"))), the linker does generate the above-mentionned error

[Bug ld/10434] New: -fpie + -pie does not appear to work with __thread variables

2009-07-23 Thread mathieu dot lacage at gmail dot com
[math...@mathieu-laptop elf-loader]$ ld --version GNU ld version 2.19.51.0.2-17.fc11 20090204 [math...@mathieu-laptop test]$ gcc -dumpmachine x86_64-redhat-linux [math...@mathieu-laptop test]$ gcc --version gcc (GCC) 4.4.0 20090506 (Red Hat 4.4.0-4) [math...@mathieu-laptop test]$ uname -a Linux mat

[Bug ld/10433] Latest ld fails to link ldconfig properly

2009-07-23 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-07-23 08:41 --- Hi H.J. Will the uploaded patch work ? Cheers Nick -- What|Removed |Added Status

[Bug ld/10433] Latest ld fails to link ldconfig properly

2009-07-23 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-07-23 08:40 --- Created an attachment (id=4078) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4078&action=view) Do not generate PLT entries for IFUNC symbols when they are defined, only when they are referenced. -- h