This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
> -nostartfiles should prevent the inclusion of crt* but not of libgloss; > libgloss is a matter for -nostdlib, which we _don't_ use. I see that > in the m32r GCC port, -lgloss is in ENDFILE_CPU_SPEC, which is unlike > any other port. > > I don't want to mess with that right now, but does adding -lgloss to > ${link-flags} in asm-source.exp fix the problem? It worked. I removed the declarations of symbols from the patch. By the way, I noticed another bug in m32r.inc. In m32r.inc, there is a sequential nop after bl instruction, which is illegal. M32r simulator doesn't care about it, but real m32r chips cause exceptions. The attached new patch fixes this problem too. Kei === 2003-08-07 Kei Sakamoto <sakamoto.kei@renesas.com> * gdb.asm/asm-source.exp : Add -lgloss to link-flags. * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction. Replace ld24 with seth/add3.
Attachment:
diffs
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |