Possible bug - GAS for RSIC-V

2023-07-03 Thread David
~]# uname -a Linux fedora-riscv 6.0.10-300.0.riscv64.fc37.riscv64 #1 SMP Sun Nov 27 19:08:44 GMT 2022 riscv64 riscv64 riscv64 GNU/Linux System is vanilla Fedora 37 running under the QEMU emulator version 8.0.2 for RISC-V 64. Thank you, David

objdump not breakable

2021-02-22 Thread Cooper, David (US)
objdump; but, still kept executing. objdump needs to be built such that it is breakable ! Target platform: NXP T2081 GNU objdump (GNU Binutils) 2.28.0.20170307 Compiler: gcc (GCC) 6.4.0 Host OS: Windows 10 Pro +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- David Cooper, "Coop&q

[PATCH] RISC-V: prevent null pointer dereference

2020-04-30 Thread David Michael
Signed-off-by: David Michael --- Hi, I tried to test the Linux RISC-V UEFI stub by cross-compiling this branch with binutils 2.34 and GCC 9.3.0: https://github.com/atishp04/linux/tree/uefi_riscv_pr It results in a segfault in ld while linking vmlinux because the pointer h

bfd/elf32-arc.c:1537]: (warning) Redundant assignment

2018-02-11 Thread David Binderman
Hello there, bfd/elf32-arc.c:1537]: (warning) Redundant assignment of 'rel->r_offset' to itself. Source code is rel->r_offset = rel->r_offset; Suggest code rework. Regards David Binderman ___ bug-binutils mailin

bfd/elf32-nds32.c:9693]: (warning) Redundant assignment

2018-02-11 Thread David Binderman
Hello there, bfd/elf32-nds32.c:9693]: (warning) Redundant assignment of 'irel->r_addend' to itself. Source code is rel->r_offset = rel->r_offset; Suggest code rework. Regards David Binderman ___ bug-binutils mailin

[Bug ld/19962] New: R_ARM_COPY relocation generated with -znocopyreloc

2016-04-17 Thread david at zentus dot com
: ld Assignee: unassigned at sourceware dot org Reporter: david at zentus dot com Target Milestone: --- Linking with -znocopyreloc has no effect on ARM. The result binary still contains an R_ARM_COPY relocation. $ cat data-ref.s .globl _start

src/gdb/remote.c:7724: missing use of va_end ?

2015-11-09 Thread David Binderman
__, _("Too long remote packet."));   if (putpkt (rs->buf) < 0)     error (_("Communication problem with target."));   rs->buf[0] = '\0';   getpkt (&rs->buf, &rs-&g

src/gold/arm.cc:4513: de-allocation then use ?

2015-11-09 Thread David Binderman
Hello there, [src/gold/arm.cc:4513]: (error) Returning/dereferencing 'buffer' after it is deallocated / released Source code is   delete[] buffer;   return std::string(buffer); Suggest code rework. Regards David

Re: pdp-11 TARGET_PAGE_SIZE mismatch in 2.25

2015-10-30 Thread David Bridgham
In my previous message I jumped to the fix, rather than giving you just the problem. Sorry about that. Here's a little program: crt0.s: .text .even .globl _start _start: mov$014, sp movsp, r5 movargv, -(sp)/* argv */ mov$1, -(sp)/* argc */

pdp-11 TARGET_PAGE_SIZE mismatch in 2.25

2015-10-30 Thread David Bridgham
In binutils-2.25 the files pfd/pdp11.c and ld/emulparams/pdp11.sh both define TARGET_PAGE_SIZE but the values are different. This causes weirdness in the linker output, namely symbol values are set by one while the sections' lma/vma values are set by the other. I went with the smaller value (256

tc-v850.c:1663: possible bad if condition ?

2015-03-02 Thread David Binderman
else if (strcmp (arg, "4byte-align") == 0)     v850_e_flags &= ~ EF_RH850_DATA_ALIGN8; The last two conditions will never be true. Suggest code rework. Regards David Binderman ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils

LFLAGS+=-Wl,-q causes ld to signal 11 during collect2

2012-02-24 Thread david . hagood
I have spent the past couple of days tracking down why my builds all fail with collect2: ld terminated with signal 11 [Segmentation fault] This was 100% repeatable with binutils 2.20 and 2.22, on multiple architectures (X86 and ARM). I finally found that the cause was passing LFLAGS+=-Wl,-q to the

binutils-2.21.53.0.2/gas bug report

2011-10-23 Thread David Binderman
case 0xe8: There looks to be a missing break in there. 2. [binutils-2.21.53.0.2/gas/config/tc-mn10200.c:563]: (warning) Redundant assignment of "opcode" in switch Duplicate. Regards David Binderman

More complete fix for a previous problem in gprof.

2011-06-07 Thread David Warme
^[^\$\.]*(\.(clone\.)?[0-9]+)+$ and so accepts the following symbols: foo.123 foo.clone.23 foo.clone.1.clone.2 foo.2.clone.6.clone.9 foo.2.1.clone.3.4.clone.5 This errs on the side of accepting more cases than the relevent mechanisms are like

Re: ar: undefined symbol: bfd_plugin_set_program_name

2009-12-23 Thread david levis
I replaced binutils 2.20 downloaded from gnu.org with kernel.org. Now everything works. david levis wrote: > > I am under Ubuntu 9.10 & gcc version is > Configured with: ../src/configure -v --with-pkgversion='Ubuntu > 4.4.1-4ubuntu8' --with-bugurl=file:///usr/sha

[Bug gas/10856] [2.20 regression] gas creates wrong code which results in a test failure in libcrypto++'s sha2 test

2009-12-13 Thread david-sarah at jacaranda dot org
--- Additional Comments From david-sarah at jacaranda dot org 2009-12-13 17:55 --- Any indication of when this fix is likely to get into a release? The more OS distributions as 2.20 goes into, the more problems this bug will cause. -- http://sourceware.org/bugzilla/show_bug.cgi?id

Re: ar: undefined symbol: bfd_plugin_set_program_name

2009-12-01 Thread david levis
On Wed, Nov 18, 2009 at 01:37:55AM -0800, david levis wrote: >> ar: symbol lookup error: ar: undefined symbol: >> bfd_plugin_set_program_name > > Please show the options you passed to configure. > > -- > Alan Modra

ar: undefined symbol: bfd_plugin_set_program_name

2009-11-18 Thread david levis
I find such a problem when cross compile binutils 2.20; the following are logs in terminal: libtool: link: ar cru .libs/libbfd.a archive.o archures.o bfd.o bfdio.o bfdwin.o cache.o coffgen.o corefile.o format.o init.o libbfd.o opncls.o reloc.o section.o syms.o targets.o hash.o linker.o srec.o bi

Re: gprof reporting zero times for one program

2008-01-25 Thread David Mathog
he rest of the code changes are just that - code changes, there shouldn't be anything in normal logic to confuse gprof. Valgrind runs cleanly so it isn't stomping on memory. Thanks, David Mathog [EMAIL PROTECTED] Manager, Sequence Analysis Facility, Biology Division, Caltech _

gprof reporting zero times for one program

2008-01-17 Thread David Mathog
es (nettee.c:912 @ 804a359) 0.00 0.35 0.0034071 0.00 0.00 readnbytes (nettee.c:933 @ 804a36a) What could be the problem in the new version of this program which is so confusing gprof? I've run nettee in valgrind and it was well behaved running in there (albeit real

x86-64: gas could do a better job on movq imm32, r64

2007-08-27 Thread David Wragg
this, but hand-coded assembly often does (see for example the x86-64 Linux kernel). David Wragg ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug ld/3163] New: Provide example of assignment to a symbol within a section in linker scripts

2006-08-31 Thread david dot cook at st dot com
ity: enhancement Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: david dot cook at st dot com CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=3163 --- You

Re: [Bug gas/818] New: error handling %farg[0-4] registers

2005-04-11 Thread John David Anglin
> 2005-04-11 Nick Clifton <[EMAIL PROTECTED]> > > PR gas/818 > * config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3] > synonyms. Yes, the change looks correct. Ok. Dave -- J. David Anglin [EMAIL PROTECTED] Nationa

RE: Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-09 Thread David Du
Hi, anybody can answer this question: objdump not working for IBM AIX xcoff object file? Thanks David -Original Message- From: David Du [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 09, 2005 9:52 AM To: Ben Elliston; bug-binutils@gnu.org Subject: RE: Run objdump under windows XP for

RE: Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-09 Thread David Du
directory, called rs6000-aix-objdump.exe, after I ran this file, it said invalid target as shown in the following: Any other idea what is wrong? THanks for your help. David This is from cygwin: C:\>which objdump1 /usr/bin/objdump1 C:\>objdump1 -i BFD header file version 2.15.91 20040

RE: Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-08 Thread David Du
Ok Ian, thank you anyway. David -Original Message- From: Ian Lance Taylor [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 3:02 PM To: David Du Cc: bug-binutils@gnu.org Subject: Re: Run objdump under windows XP for XCOFF object file created from IBM AIX system "David Du&quo

RE: Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-08 Thread David Du
Hi, Ian, I tried both powerpc-aix and powerpc-elf, when I tested objdump -i, they gave me error saying "objdump: can't set BFD default target to powerpc-aix: Invalid bfd target" and "objdump: can't set BFD default target to powerpc-unknown-elf: Invalid bfd target";

RE: Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-08 Thread David Du
ng? Thanks for your kind help! David -Original Message- From: Ian Lance Taylor [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 12:20 PM To: David Du Cc: bug-binutils@gnu.org Subject: Re: Run objdump under windows XP for XCOFF object file created from IBM AIX system "David

RE: Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-08 Thread David Du
xcoff, but in other source code like xcoff.h, it has some xcoff information, I donot know what I need to configure to support xcoff format. any idea? Thanks David -Original Message- From: Ian Lance Taylor [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 10:32 AM To: David Du Cc: bug

RE: Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-08 Thread David Du
just did not work, the version of binutils I downloaded is binutils-2.15, I am not sure what I should do. Would you please help me with this issue again? Thanks David -Original Message- From: Ian Lance Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, March 07, 2005 11:13 PM To: David Du Cc

Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-07 Thread David Du
Hi, I need to run objdump under windows XP to dump out XCOFF format object files created from IBM AIX environment, is that possible? I went to gnu.org site, and do not see where I can download the gnu package containing the objdump command, anybody could help me with this? Thanks David

RE: Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-07 Thread David Du
direction for me David -Original Message- From: Ian Lance Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, March 07, 2005 9:48 PM To: David Du Cc: bug-binutils@gnu.org Subject: Re: Run objdump under windows XP for XCOFF object file created from IBM AIX system "David Du" <[EMAIL PROTE

Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-07 Thread David Du
Hi, I need to run objdump under windows XP to dump out XCOFF format object files created from IBM AIX environment, is that possible? I went to gnu.org site, and do not see where I can download the gnu package containing the objdump command, anybody could help me with this? Thanks David