Commit Graph

32346 Commits

Author SHA1 Message Date
Chris Johns
aa5c46210b testsuite: Parse TCFG path based on OS path separator. 2018-11-28 20:32:46 +11:00
Himanshu40
27a8fc56ee psxtests: add POSIX API signature compliance tests for dirent.h file (GCI 2018) 2018-11-27 11:25:38 -06:00
Shashvat Jain
89bff5aeb5 m68k/av5282: Add per-section compilation and linking support (GCI 2018)
The size of the sample executables without this option were:

   text    data     bss     dec     hex filename
  83168    1152   11904   96224   177e0 base_sp.exe
 199184    2096   14848  216128   34c40 capture.exe
 252496    2912   12912  268320   41820 cdtest.exe
 861872   21888   19648  903408   dc8f0 cxx_iostream.exe
 564816    4640   24304  593760   90f60 fileio.exe
 117168    1504   12048  130720   1fea0 hello.exe
 261216    6016   18688  285920   45ce0 loopback.exe
  67200    1008    8768   76976   12cb0 minimum.exe
 106336    1632   12016  119984   1d4b0 nsecs.exe
 191856    1904   12624  206384   32630 paranoia.exe
 430224   12048   41472  483744   761a0 pppd.exe
  85920    1168   11936   99024   182d0 ticker.exe
  85984    1120   15808  102912   19200 unlimited.exe

The size of the sample executables with this option were:

   text    data     bss     dec     hex filename
  78512    1136   11824   91472   16550 base_sp.exe
 185584    2096   14800  202480   316f0 capture.exe
 184192    2144   12864  199200   30a20 cdtest.exe
 184384    2224   13072  199680   30c00 cxx_iostream.exe
 552288    4624   23984  580896   8dd20 fileio.exe
 108224    1504   12016  121744   1db90 hello.exe
 245168    6016   18608  269792   41de0 loopback.exe
  62416    1008    8688   72112   119b0 minimum.exe
 100256    1616   11936  113808   1bc90 nsecs.exe
 183216    1904   12592  197712   30450 paranoia.exe
 417648   12048   41392  471088   73030 pppd.exe
  81024    1168   11856   94048   16f60 ticker.exe
  84176    1120   15776  101072   18ad0 unlimited.exe

Closes #2574
2018-11-27 09:26:09 -06:00
Sebastian Huber
06331e4dcb dosfs: Fix device identifier
Update #3358.
2018-11-27 12:46:17 +01:00
Sebastian Huber
a7267241a9 bsps/sparc: Add and use <grlib_impl.h>
Reduce copy and paste.
2018-11-27 08:06:53 +01:00
Sebastian Huber
c1864a0ad3 Add LICENSE.BSD-2-Clause
Copied from:

https://spdx.org/licenses/BSD-2-Clause.html

The formatting is suitable for C/C++ source comments.

Update #3053.
2018-11-26 14:09:44 +01:00
Sebastian Huber
0a75a4aa65 Remove rtems_cache_*_processor_set() functions
The following rtems_cache_*_processor_set() cache manager API functions
are exotic, complex, very hard to use correctly, not used in the RTEMS
code base, and apparently unused by applications.

Close #3622.
2018-11-26 14:09:43 +01:00
Sebastian Huber
6378978940 rtems: Fix semaphore MPCI support 2018-11-26 13:32:35 +01:00
Sebastian Huber
5fc727fe77 score: <rtems/score/smplockstats.h>
Remove <rtems/score/chainimpl.h> include from
<rtems/score/smplockstats.h>.

Close #3598.
2018-11-26 08:29:33 +01:00
Sebastian Huber
eaa5ea84ea score: Introduce <rtems/score/heapinfo.h>
Move Heap_Information_block to separate header file to hide heap
implementation details from <rtems.h>.

Update #3598.
2018-11-26 07:51:57 +01:00
Shashvat Jain
1947449a5d m68k/uC5282: Add per-section compilation and linking (GCI 2018)
The size of the sample executables without this option were:

   text    data     bss     dec     hex filename
 120160    1520   14048  135728   21230 ./base_sp.exe
 205904    2112   16976  224992   36ee0 ./capture.exe
 257216    2912   15040  275168   432e0 ./cdtest.exe
 867616   21888   21776  911280   de7b0 ./cxx_iostream.exe
 574528    4640   26432  605600   93da0 ./fileio.exe
 138256    1520   14192  153968   25970 ./hello.exe
 268304    6032   20816  295152   480f0 ./loopback.exe
 102592    1376   10848  114816   1c080 ./minimum.exe
 137072    1632   14160  152864   25520 ./nsecs.exe
 213328    1920   14768  230016   38280 ./paranoia.exe
 439440   12048   43600  495088   78df0 ./pppd.exe
 122896    1536   14080  138512   21d10 ./ticker.exe
 123296    1488   17952  142736   22d90 ./unlimited.exe

The size of the sample executables with this option were:

   text    data     bss     dec     hex filename
  58752    1104    9968   69824   110c0 ./base_sp.exe
 180560    2096   14864  197520   30390 ./capture.exe
 165328    2080   10992  178400   2b8e0 ./cdtest.exe
 162288    2144   11152  175584   2ade0 ./cxx_iostream.exe
 545008    4624   24032  573664   8c0e0 ./fileio.exe
  85440    1456   10112   97008   17af0 ./hello.exe
 216528    5904   16688  239120   3a610 ./loopback.exe
  34944     960    6768   42672    a6b0 ./minimum.exe
  82064    1584   10096   93744   16e30 ./nsecs.exe
 163808    1872   10752  176432   2b130 ./paranoia.exe
 388960   11904   40768  441632   6bd20 ./pppd.exe
  61856    1136   10000   72992   11d20 ./ticker.exe
  61888    1072   13872   76832   12c20 ./unlimited.exe

Closes #2575
2018-11-25 17:09:20 -06:00
Himanshu40
183b0ae488 psxtmtests: add psxtmmqrcvblock02 (GCI 2018) 2018-11-25 09:49:30 -06:00
ABR290B
16d5e39453 psxtests/psxhdrs patch (GCI 2018) 2018-11-25 09:36:41 -06:00
Shashvat Jain
ffe9e7a0a7 m68k/gen68360:Add per-section compilation and linking support
The size of the sample executables without this option were:

   text    data     bss     dec     hex filename
  76560    1200   19504   97264   17bf0 ./base_sp.exe
 191776    2160   22448  216384   34d40 ./capture.exe
 243760    2976   20496  267232   413e0 ./cdtest.exe
 827184   21872   26928  875984   d5dd0 ./cxx_iostream.exe
 532960    4688   31904  569552   8b0d0 ./fileio.exe
  97888    1472   19360  118720   1cfc0 ./hello.exe
 250368    6080   26272  282720   45060 ./loopback.exe
  34336     304   15056   49696    c220 ./minimum.exe
  99840    1680   19616  121136   1d930 ./nsecs.exe
 185936    1968   20240  208144   32d10 ./paranoia.exe
 414992   12096   49072  476160   74400 ./pppd.exe
  79472    1232   19536  100240   18790 ./ticker.exe
  66368    1088   23120   90576   161d0 ./unlimited.exe

The size of the sample executables with this option were:

   text    data     bss     dec     hex filename
  59200    1120   19136   79456   13660 ./base_sp.exe
 178912    2160   22400  203472   31ad0 ./capture.exe
 163712    2112   20160  185984   2d680 ./cdtest.exe
 163696    2192   20352  186240   2d780 ./cxx_iostream.exe
 521344    4672   31584  557600   88220 ./fileio.exe
  89600    1472   19328  110400   1af40 ./hello.exe
 222384    5984   25920  254288   3e150 ./loopback.exe
  33728     304   15024   49056    bfa0 ./minimum.exe
  81280    1584   19248  102112   18ee0 ./nsecs.exe
 164960    1872   19904  186736   2d970 ./paranoia.exe
 402928   12096   48992  464016   71490 ./pppd.exe
  62112    1136   19168   82416   141f0 ./ticker.exe
  64864    1072   23088   89024   15bc0 ./unlimited.exe

Closes #2566.
2018-11-25 09:29:08 -06:00
pritishjain
1b2124d17c m68k/gen68340:Add per-section compilation and linking support
The size of the sample executables without this option were:

  65600    4384   19280   89264   15cb0 ./m68k-rtems5/c/gen68340/testsuites/samples/base_sp.exe
 199728    5504   22688  227920   37a50 ./m68k-rtems5/c/gen68340/testsuites/samples/capture.exe
 233024    6160   20288  259472   3f590 ./m68k-rtems5/c/gen68340/testsuites/samples/cdtest.exe
 829632   25152   27008  881792   d7480 ./m68k-rtems5/c/gen68340/testsuites/samples/cxx_iostream.exe
 539072    8048   32144  579264   8d6c0 ./m68k-rtems5/c/gen68340/testsuites/samples/fileio.exe
 100320    4752   19440  124512   1e660 ./m68k-rtems5/c/gen68340/testsuites/samples/hello.exe
 240080    9264   26048  275392   433c0 ./m68k-rtems5/c/gen68340/testsuites/samples/loopback.exe
  36784    3584   15152   55520    d8e0 ./m68k-rtems5/c/gen68340/testsuites/samples/minimum.exe
  89104    4864   19408  113376   1bae0 ./m68k-rtems5/c/gen68340/testsuites/samples/nsecs.exe
 175200    5152   20016  200368   30eb0 ./m68k-rtems5/c/gen68340/testsuites/samples/paranoia.exe
 422944   15456   49312  487712   77120 ./m68k-rtems5/c/gen68340/testsuites/samples/pppd.exe
  68768    4416   19312   92496   16950 ./m68k-rtems5/c/gen68340/testsuites/samples/ticker.exe
  68816    4368   23200   96384   17880 ./m68k-rtems5/c/gen68340/testsuites/samples/unlimited.exe

The size of the sample executables with this option enabled were:

   text    data     bss     dec     hex filename
  54384    4384   19200   77968   13090 ./m68k-rtems5/c/gen68340/testsuites/samples/base_sp.exe
 177648    5488   22640  205776   323d0 ./m68k-rtems5/c/gen68340/testsuites/samples/capture.exe
 159392    5344   20208  184944   2d270 ./m68k-rtems5/c/gen68340/testsuites/samples/cdtest.exe
 158720    5424   20432  184576   2d100 ./m68k-rtems5/c/gen68340/testsuites/samples/cxx_iostream.exe
 515696    8016   31792  555504   879f0 ./m68k-rtems5/c/gen68340/testsuites/samples/fileio.exe
  83920    4736   19392  108048   1a610 ./m68k-rtems5/c/gen68340/testsuites/samples/hello.exe
 206640    9168   25920  241728   3b040 ./m68k-rtems5/c/gen68340/testsuites/samples/loopback.exe
  21232    3520   15104   39856    9bb0 ./m68k-rtems5/c/gen68340/testsuites/samples/minimum.exe
  78352    4864   19312  102528   19080 ./m68k-rtems5/c/gen68340/testsuites/samples/nsecs.exe
 159600    5136   19968  184704   2d180 ./m68k-rtems5/c/gen68340/testsuites/samples/paranoia.exe
 377376   15296   48528  441200   6bb70 ./m68k-rtems5/c/gen68340/testsuites/samples/pppd.exe
  58304    4416   19232   81952   14020 ./m68k-rtems5/c/gen68340/testsuites/samples/ticker.exe
  59360    4336   23168   86864   15350 ./m68k-rtems5/c/gen68340/testsuites/samples/unlimited.exe

Closes #2573.
2018-11-24 16:54:45 -06:00
zehata
2ce44de54c Changed slightly awkward sentence structure 2018-11-22 09:59:28 -06:00
Joel Sherrill
9dfb9a9879 pipe/fifo.c: Remove dead code (CID 1437649)
Closes #3581.
2018-11-22 09:58:33 -06:00
Chris Johns
03139d5b1c libdl: Add object file dependencies to track references
Tracking references lets us manage when an object file can be
unloaded. If an object file has references to it, it cannot be
unloaded.

Modules that depend on each other cannot be unloaded.

Updates #3605
2018-11-22 12:43:31 +11:00
Chris Johns
8e7c72a7f5 libdl: Reindex unresolved names after removing used records.
Updates #3194
2018-11-22 12:43:27 +11:00
Chris Johns
803eac954e libdl: Manage the allocation of common uninitialised variables.
The use of separate text and data results in uninitialised variables
being placed in the common section. There is no section in ELF for
the common variables so the loader needs to create the section and
allocate the variables in that section. This patch does that.

The patch adds a second pass over the symbols.

The issue can also be seen as a section 65522 error.

Updates #3604
2018-11-22 12:43:21 +11:00
Himanshu40
69812aaa2c psxtmbarrierattr01: Added new POSIX timing suite (GCI 2018) 2018-11-21 14:12:54 -06:00
Sebastian Huber
52c7cb1fdc score: Simplify _Workspace_String_duplicate() 2018-11-21 18:06:01 +01:00
Sebastian Huber
59e7209fb3 score: Remove support for RTEMS_USE_16_BIT_OBJECT
The RTEMS_USE_16_BIT_OBJECT define is not set by an RTEMS port.  Remove
support for 16-bit object identifiers.  If someone really wants to use
RTEMS on a 16-bit target, then it is better to use self-contained
objects instead of playing around with object identifier optimizations.

Update #3603.
2018-11-21 08:06:27 +01:00
Sebastian Huber
e0caabe08d bsps/arm: Avoid short range branch in start.S 2018-11-21 07:48:23 +01:00
Sebastian Huber
faafc22928 bsps/arm: Use local labels in start.S 2018-11-21 07:48:23 +01:00
Sebastian Huber
945291312c bsps/arm: Simplify start.S
The boot_card() function does not return.
2018-11-21 07:48:23 +01:00
kuaLeYi
bde6ac2060 Misc: Minor English fixes (GCI 2018) 2018-11-20 09:45:51 -06:00
Himanshu40
edae517758 psxtmutexattr01: Added new POSIX timing suite (GCI 2018) 2018-11-20 09:26:57 -06:00
Sebastian Huber
0a6a4ddba8 bsps/moxie: Use interrupt stack for init stack
Update #3459.
2018-11-19 07:15:47 +01:00
Sebastian Huber
38f81bfc21 bsps/nios2: Use interrupt stack for init stack
Update #3459.
2018-11-19 07:15:47 +01:00
Sebastian Huber
098900186c bsps/sparc64: Use interrupt stack for init stack
Update #3459.
2018-11-19 07:15:47 +01:00
Sebastian Huber
5f5bbd10fb bsps/x86_64: Use interrupt stack for init stack
Update #3459.
2018-11-19 07:15:47 +01:00
Sebastian Huber
0ce6bf3ff5 bsps/epiphany: Use interrupt stack for init stack
Update #3459.
2018-11-19 07:15:47 +01:00
Sebastian Huber
a74ee41742 bsps/bfin: Use interrupt stack for init stack
Update #3459.
2018-11-19 07:15:47 +01:00
Sebastian Huber
508f319ef7 bsps/mips: Use interrupt stack for init stack
Update #3459.
2018-11-19 07:15:47 +01:00
Sebastian Huber
84e59b7c04 bsps/powerpc: Use interrupt stack for init stack
Move start.o to separate file.

Update #3459.
2018-11-19 07:15:47 +01:00
Sebastian Huber
cc61d5cdb2 bsps/m68k: Use interrupt stack for init stack
Update #3459.
2018-11-19 07:15:47 +01:00
Himanshu40
edd366c9ef psxtmcleanup01: new POSIX timing suite (GCI 2018) 2018-11-17 12:56:35 -06:00
shashvatjain
f06c436a4a psxtmtests_plan.csv: Update to reflect psxtmmqrcvblock01 (GCI 2018) 2018-11-16 11:17:13 -06:00
shashvatjain
ccf11ce9b7 psxtmmqrcvblock01: Add new POSIX timing test (GCI 2018) 2018-11-15 16:41:39 -06:00
Himanshu40
841b54ee6a psxtmthreadattr01: Correct mistakes in previous merge (GCI 2018)
Joel admits to grabbing one iteration too early of the patch. :(
2018-11-15 16:40:47 -06:00
Himanshu40
8abb230b77 psxtmthreadattr01: Add new test (GCI 2018) 2018-11-15 14:00:59 -06:00
Joel Sherrill
68c8a197a7 testsuites/psxtests/psxhdrs: Fix comment so copyright block is separate 2018-11-14 17:32:01 -06:00
Pavel Pisa
5247a21436 bsp/tms570: correct baudrate calculation. 2018-11-14 23:48:56 +01:00
Pavel Pisa
aefd4a2dee bsp/tms570: correct inclusion of header files for build with HW init.
The build fails when TMS570_USE_HWINIT_STARTUP=1 option is set.
2018-11-14 23:46:43 +01:00
Sebastian Huber
a13b89bb17 bsp/i386: Use interrupt stack for init stack
Update #3459.
2018-11-14 08:43:07 +01:00
Sebastian Huber
5f32da0b69 bsp/or1k: Use interrupt stack for init stack
Update #3459.
2018-11-14 08:00:00 +01:00
Sebastian Huber
dc56355633 Include missing <sys/cpuset.h>
Update #3598.
2018-11-14 07:24:08 +01:00
Sebastian Huber
28bf4cae78 or1k: Support GCC 9
Close #3602.
2018-11-14 07:02:03 +01:00
Sebastian Huber
9a029cec02 bsps/irq: Use rtems_malloc() 2018-11-12 13:26:22 +01:00