This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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]

Re: gmtime_r hanging


On 20/12/2011, at 9:36, Daniel O'Connor wrote:
> I stepi'd and found..
> 1436						  *--cp = to_char (_uquad % 10);
> (gdb) 
> 0x080070dc	1436						  *--cp = to_char (_uquad % 10);
> (gdb) 
> 0x080070de	1436						  *--cp = to_char (_uquad % 10);
> 
> disassembly shows..
>   0x080070d8 <+3544>:	ldr	r5, [sp, #64]	; 0x40
>   0x080070da <+3546>:	adds	r0, r6, #0
>   0x080070dc <+3548>:	movs	r1, #10
>   0x080070de <+3550>:	blx	0x800c538 <__aeabi_uidivmod>
>   0x080070e2 <+3554>:	subs	r5, #1
>   0x080070e4 <+3556>:	adds	r1, #48	; 0x30


I rebuilt using the tools created by https://github.com/MikeSmith/summon-arm-toolchain and it works fine so I guess the MacPorts arm-none-eabi port is broken :(

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C







Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]