Re: How to overcome the problem created when binutils is installed?
Hi Ashwani, i have fedora core 3 distribution with gcc version 4.0 .When i installed binutils 2.13 2.13 is a very old release. You really should be using the 2.16 release, which you ought to have found included with the gcc 4.0 distribution that you are using. each and every program when compiled gave an error Collect2 : ld 1 exit status (something like that) . I removed the libraries ( e.g libiberty.a ,etc) from the directory of /usr/lib .But the problem remained. Can anybody tell me what happens to the loader after the bintuils is installed and how to overcome it ? Neither collect2 nor ld is a loader. The former is a wrapper program which invokes the latter. ld is a linker. If you still have the problem after switching over to the 2.16 binutils release then may I suggest adding the --verbose switch to the linker command line ? (presumably via adding -Wl,--verbose to your gcc command line). This may help you track down where in the linker the problem is occurring. Cheers Nick ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
Re: How to overcome the problem created when binutils is installed?
On 1/19/06, Nick Clifton <[EMAIL PROTECTED]> wrote: > Hi Ashwani, > > >i have fedora core 3 distribution with gcc version 4.0 .When i > > installed binutils 2.13 > > 2.13 is a very old release. You really should be using the 2.16 > release, which you ought to have found included with the gcc 4.0 > distribution that you are using. > > > each and every program when compiled gave an > > error Collect2 : ld 1 exit status (something like that) . I removed the > > libraries ( e.g libiberty.a ,etc) from the directory of /usr/lib .But > > the problem remained. Can anybody tell me what happens to the loader > > after the bintuils is installed and how to overcome it ? > > Neither collect2 nor ld is a loader. The former is a wrapper program > which invokes the latter. ld is a linker. > > If you still have the problem after switching over to the 2.16 binutils > release then may I suggest adding the --verbose switch to the linker > command line ? (presumably via adding -Wl,--verbose to your gcc command > line). This may help you track down where in the linker the problem is > occurring. > But I think that once if he starts getting that error, i dont think that Binutils 2.16 will be installed. He will have to first correct the problem with the ld and then he can go on with the new installation. I had the same problem once, I tried installing Binutils 2.16, but still the same error was coming , while configuring 2.16. ? How do we correct the problem with the linker ? -- Regards, Sandeep A candle loses nothing if it is used to light another one! ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
help
Title: help Dear Sir: When I use arm-elf-readelf , I have one question. Can you out put one secotion all info . for example. I have one section headers. [Nr] Name Type Addr Off Size ES Flg Lk Inf Al [ 0] NULL 00 00 00 0 0 0 [ 1] .debug_aranges PROGBITS 71444c 01bbf0 00 0 0 1 [ 2] .debug_pubnames PROGBITS 73003c 050171 00 0 0 1 [ 3] .debug_info PROGBITS 7801ad 19e1ee9 00 0 0 1 [ 4] .debug_abbrev PROGBITS 2162096 0951a9 00 0 0 1 [ 5] .debug_line PROGBITS 21f723f 2878da 00 0 0 1 [ 6] .debug_frame PROGBITS 247eb1c 06b078 00 0 0 4 [ 7] .debug_str PROGBITS 24e9b94 09fbfb 01 MS 0 0 1 [ 8] .fixed_vectors PROGBITS 100b0020 25897a0 000140 00 0 0 32 [ 9] .rom_vectors PROGBITS 1012 008000 40 00 AX 0 0 1 [10] .text PROGBITS 10120040 008040 4606dc 00 AX 0 0 4 [11] .fini PROGBITS 1058071c 25898e0 00 00 W 0 0 1 [12] .rodata PROGBITS 1058071c 46871c 245482 00 A 0 0 4 [13] .rodata1 PROGBITS 107c5ba0 25898e0 00 00 W 0 0 1 [14] .fixup PROGBITS 107c5ba0 25898e0 00 00 W 0 0 1 [15] .gcc_except_table PROGBITS 107c5ba0 6adba0 3c 00 WA 0 0 4 [16] .data PROGBITS 107c5bdc 6adbdc 066870 00 WA 0 0 4 [17] .bss NOBITS 1082c44c 71444c 17f8988 00 WA 0 0 32 [18] .stab PROGBITS 25898e0 000ef4 0c 19 0 4 [19] .stabstr STRTAB 258a7d4 b2 00 0 0 1 [20] .shstrtab STRTAB 258a886 e4 00 0 0 1 [21] .symtab SYMTAB 258ad04 0733a0 10 22 1bb1 4 [22] .strtab STRTAB 25fe0a4 083967 00 0 0 1 I want display all [ 17 ] bss section all information. as bellow. 29284: 11f56d88 200 OBJECT GLOBAL DEFAULT 17 GetGSMCmdBuf 29296: 11e02340 4 OBJECT GLOBAL DEFAULT 17 listfontp ; BR Green ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils