tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gas 2.21 vs. arm-*elf target



it seems that there's a new bug in old arm-elf targets including
arm-netbsdelf.  i don't know what is going wrong yet, but something
in the new IT support is triggering a crash.

the simple hack below works around the crash by avoiding the code
that triggers the segv, and should be harmless for our current
system since we don't have IT support anyway (AFAIK.)

can someone have a look at what is really wrong please?


.mrg.


Index: gas/config/tc-arm.c
===================================================================
RCS file: /cvsroot/src/external/gpl3/binutils/dist/gas/config/tc-arm.c,v
retrieving revision 1.3
diff -p -r1.3 tc-arm.c
*** gas/config/tc-arm.c 25 Sep 2011 04:32:37 -0000      1.3
--- gas/config/tc-arm.c 26 Sep 2011 09:27:47 -0000
*************** arm_cleanup (void)
*** 21802,21809 ****
--- 21802,21811 ----
  {
    literal_pool * pool;
  
+ #if 0
    /* Ensure that all the IT blocks are properly closed.  */
    check_it_blocks_finished ();
+ #endif
  
    for (pool = list_of_pools; pool; pool = pool->next)
      {


Home | Main Index | Thread Index | Old Index